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

Joey Gouly via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 08:47:14 PDT 2017


joey updated this revision to Diff 101034.
joey added a comment.
Herald added a reviewer: dberlin.

Constant fold inside SimplifyGEPInst instead.


https://reviews.llvm.org/D31194

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Analysis/ConstantFolding/gep-constanfolding-error.ll
  test/Transforms/InstSimplify/compare.ll
  test/Transforms/InstSimplify/simplify-nested-bitcast.ll
  test/Transforms/InstSimplify/vector_gep.ll
  test/Transforms/NewGVN/completeness.ll
  test/Transforms/NewGVN/loadforward.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31194.101034.patch
Type: text/x-patch
Size: 10036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170601/53c67e23/attachment.bin>


More information about the llvm-commits mailing list