[Bug 199051] Sparse IR generation for initializers is generating STORE instructions with PSEUDO_VAL with value 0 but size greater than 64-bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=199051

Luc Van Oostenryck (luc.vanoostenryck@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |luc.vanoostenryck@xxxxxxxxx
         Resolution|---                         |INVALID

--- Comment #1 from Luc Van Oostenryck (luc.vanoostenryck@xxxxxxxxx) ---
In sparse's IR, there is no such invariant like "a PSEUDO_VAL type can only be
64-bits in size", for exactly the same reasons as an integer in LLVM can have
an arbirary size.

Sparse can use large STOREs, large LOADs and large pseudos, it's normal and at
translation-time these need to be converted to memset() or memcpy(), not
before.

Also:
* for the second point, all constants of value 1 are also represented by a
unique pseudo, like all others values.
* these stores instructions are not only needed for sparse-llvm, they are
needed for all uses.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux