[PATCH] D50270: [x86] When using "and $0" and "orl $-1" to store 0 and -1 for minsize, make sure the store isn't volatile

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 5 01:37:32 PDT 2018


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86InstrCompiler.td:1046
+  return !cast<StoreSDNode>(N)->isVolatile();
+}]>;
+
----------------
Is there any place more generic we can put this? It doesn't seem x86 specific


https://reviews.llvm.org/D50270





More information about the llvm-commits mailing list