[llvm-bugs] [Bug 42922] New: [X86] Cmov converter pass sinks volatile loads
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 7 12:41:54 PDT 2019
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: unassignedbugs at nondot.org
Reporter: craig.topper at gmail.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
llvm-dev at redking.me.uk, spatel+llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190807/b09fe167/attachment.html>
More information about the llvm-bugs
mailing list