https://bugs.llvm.org/show_bug.cgi?id=42294
Bug ID: 42294
Summary: [mssa-loop-dep] wrong code
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 22112
--> https://bugs.llvm.org/attachment.cgi?id=22112&action=edit
reduced testcase
gcc -O0 -march=z10 -o a.out
gcc -O1 -march=z10 -o a.out
gcc -O0 -march=z13 -o a.out
gcc -O1 -march=z13 -o a.out
clang -O0 -march=z10 -o a.out
clang -O3 -march=zEC12 -o a.out
clang -O3 -march=z13 -o a.out
clang -O3 -march=z13 -o a.out -mllvm -enable-mssa-loop-dependency
With the reduced test case, the first seven compilations produce a program that
prints "0", while the last one prints "2".
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs