[Libre-soc-isa] [Bug 744] New: llvm expects predicate vectors <N x i1> to have same endianness as byte-endianness

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Nov 10 01:45:43 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=744

            Bug ID: 744
           Summary: llvm expects predicate vectors <N x i1> to have same
                    endianness as byte-endianness
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Specification
          Assignee: lkcl at lkcl.net
          Reporter: programmerjake at gmail.com
                CC: libre-soc-isa at lists.libre-soc.org
   NLnet milestone: ---

llvm expects bit endianness to be identical to byte endianness:
https://github.com/llvm/llvm-project/blob/18334a1c1afe1b8a83c2a6108413bc48d80107df/llvm/lib/Analysis/ConstantFolding.cpp#L218

this will cause problems with big-endian and SV declaring integer predicates to
be little-endian (lsb0)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list