[llvm-bugs] [Bug 50066] New: [GVN-hoist] WRONG code
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 21 10:01:59 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50066
Bug ID: 50066
Summary: [GVN-hoist] WRONG code
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: paulsson at linux.vnet.ibm.com
CC: llvm-bugs at lists.llvm.org
Created attachment 24778
--> https://bugs.llvm.org/attachment.cgi?id=24778&action=edit
reduced testcase
The program should print '1', but prints '2' when compiled like this:
clang -O3 -march=arch13 wrong0.i -o a.out -w -mllvm -disable-licm-promotion
-mllvm -enable-gvn-hoist -mllvm -gvn-hoist-max-bbs=10 -mllvm -sink-common-insts
-mllvm -keep-loops=false
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210421/a1c8aebc/attachment-0001.html>
More information about the llvm-bugs
mailing list