[PATCH] D16378: Introduce ConstantFoldBinaryOpOperands function and migrate some callers of ConstantFoldInstOperands to use it. NFC.

Manuel Jacob via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 15:17:07 PST 2016


mjacob created this revision.
mjacob added a reviewer: eddyb.
mjacob added subscribers: llvm-commits, dblaikie.

Although this is a slight cleanup on its own, the main motivation is to
refactor the constant folding API to ease migration to opaque pointers.
This will be follow-up work.

http://reviews.llvm.org/D16378

Files:
  include/llvm/Analysis/ConstantFolding.h
  lib/Analysis/ConstantFolding.cpp
  lib/Analysis/InstructionSimplify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16378.45454.patch
Type: text/x-patch
Size: 11255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160120/7b5be180/attachment.bin>


More information about the llvm-commits mailing list