https://bugs.llvm.org/show_bug.cgi?id=42922
Bug ID: 42922
Summary: [X86] Cmov converter pass sinks volatile loads
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedb...@nondot.org
Reporter: craig.top...@gmail.com
CC: craig.top...@gmail.com, llvm-bugs@lists.llvm.org,
llvm-...@redking.me.uk, spatel+l...@rotateright.com
When the cmov converter pass expands a volatile load that has been folded with
a cmov, it places the load only on the false path of the created control flow.
But a volatile load should be executed unconditionally. The original cmov
instruction would have always executed the load.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs