[PATCH] D20144: Fix constant folding of addrspacecast

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 15:09:59 PDT 2016


arsenm updated this revision to Diff 57999.
arsenm added a comment.

Add test that shows ConstantExpr::getAddrSpaceCast does the right thing


http://reviews.llvm.org/D20144

Files:
  lib/Analysis/ConstantFolding.cpp
  test/Transforms/InstCombine/addrspacecast.ll
  unittests/IR/ConstantsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20144.57999.patch
Type: text/x-patch
Size: 4186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160520/a5981f4b/attachment.bin>


More information about the llvm-commits mailing list