[PATCH] Allow bitcast + struct GEP transform to work with addrspacecast

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jul 14 22:10:42 PDT 2014


Make getelementptr (addrspacecast (bitcast X)) behave similarly to getelementptr (bitcast X)

http://reviews.llvm.org/D4509

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/cast.ll
  test/Transforms/InstCombine/getelementptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4509.11417.patch
Type: text/x-patch
Size: 4568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140715/7275a5eb/attachment.bin>


More information about the llvm-commits mailing list