https://bugs.llvm.org/show_bug.cgi?id=40424

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 21366
  --> https://bugs.llvm.org/attachment.cgi?id=21366&action=edit
bool-vector-0.nitro.llvm-ir

Hi,

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

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*.

Regards,
Alex

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to