https://bugs.llvm.org/show_bug.cgi?id=34377
Bug ID: 34377
Summary: Clang produces incorrect code with -O1 and higher
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: vsevolod.livins...@frtk.ru
CC: llvm-bugs@lists.llvm.org
Created attachment 19059
--> https://bugs.llvm.org/attachment.cgi?id=19059&action=edit
Reproducer.
Clang produces incorrect code with -O1 and higher. -mllvm -opt-bisect-limit
blames "X86 cmov Conversion on function"
>$ clang++ -O1 func.cpp driver.cpp ; ./a.out
1502785800
>$ clang++ -O0 func.cpp driver.cpp ; ./a.out
5
clang version 6.0.0 (trunk 311997)
--
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