[PATCH] D59375: Allow unordered loads to be considered invariant in CodeGen

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 11:18:38 PDT 2019


reames marked an inline comment as done.
reames added inline comments.


================
Comment at: lib/CodeGen/MachineInstr.cpp:1319
+      // but the caller code would need updated to expect that.
+      return false;
     if (MMO->isStore()) return false;
----------------
jfb wrote:
> Do you ever have volatile unordered?
isUnordered returns false for volatiles.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59375/new/

https://reviews.llvm.org/D59375





More information about the llvm-commits mailing list