[llvm-bugs] [Bug 40424] New: Invalid CodeGen for bool vectors

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 23 02:44:39 PST 2019


            Bug ID: 40424
           Summary: Invalid CodeGen for bool vectors
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: bique.alexandre at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 21366
  --> https://bugs.llvm.org/attachment.cgi?id=21366&action=edit


I found that there is invalid CodeGen for bool vectors, even before the

Please see the attached LLVM IR.

I compiled it with:

opt -O3 -march=native <bool-vector-0.nitro.llvm-ir -o tutu.bc
llvm-dis tutu.bc

And then cat tutu.ll gives the following output:

; ModuleID = 'tutu.bc'
source_filename = "<stdin>"

; Function Attrs: norecurse nounwind readnone
define i1 @compute(<8 x float> %in) local_unnamed_addr #0 {
  ret i1 true

attributes #0 = { norecurse nounwind readnone }

Which is *wrong*.


You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190123/eb9fc601/attachment.html>

More information about the llvm-bugs mailing list