https://llvm.org/bugs/show_bug.cgi?id=28175
Bug ID: 28175 Summary: AVX512F lowers zext from i1 to i64 through a k-mask Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: X86 Assignee: unassignedb...@nondot.org Reporter: mku...@google.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified For long long bar(); long long foo(bool i, int j) { if (j) return bar(); return i; } With -mavx512f, we get: foo(bool, int): # @foo(bool, int) testl %esi, %esi je .LBB0_1 jmp bar() # TAILCALL .LBB0_1: andl $1, %edi kmovw %edi, %k0 kmovw %k0, %eax andq $1, %rax retq -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs