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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to