https://llvm.org/bugs/show_bug.cgi?id=28661
Bug ID: 28661 Summary: [AVX512] incorrect code for boolean expression at -O0. Product: new-bugs Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: babo...@gmail.com CC: elena.demikhov...@intel.com, igor.bre...@intel.com, llvm-bugs@lists.llvm.org, vsevolod.livins...@frtk.ru Classification: Unclassified Created attachment 16791 --> https://llvm.org/bugs/attachment.cgi?id=16791&action=edit reproducer Simple test case triggers incorrect code generation on AVX512 at -O0. #include <stdio.h> int main() { bool b = true; bool res = ((bool) (!(! b))) && true; printf("%d (expected 1)\n", res); return 0; } > clang++ -O0 knl_bool_bug.cpp -march=knl > sde -knl -- ./a.out 0 (expected 1) -- 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