[PATCH] D31194: [InstSimplify] Try to Constant Fold the Instruction before simplification

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 4 21:34:02 PDT 2017


majnemer added inline comments.


================
Comment at: lib/Analysis/InstructionSimplify.cpp:3905
+                                            Ops.slice(1));
+  if (auto *CEFolded = llvm::ConstantFoldConstant(CE, Q.DL))
+    return CEFolded;
----------------
Do you need to llvm:: qualify this call?


https://reviews.llvm.org/D31194





More information about the llvm-commits mailing list