[PATCH] Canonicalize addrspacecast ConstExpr between different pointer types
jingyue at google.com
Fri Jun 13 10:21:02 PDT 2014
Hi arsenm, eliben, meheff,
As a follow-up to r210375 which canonicalizes addrspacecast
instructions, this patch canonicalizes addrspacecast constant
Given clang uses ConstantExpr::getAddrSpaceCast to emit addrspacecast
cosntant expressions, this patch is also a step towards having the
frontend emit canonicalized addrspacecasts.
Update three affected tests in addrspacecast-alias.ll,
access-non-generic.ll and constant-fold-gep.ll and added one new test in
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4770 bytes
Desc: not available
More information about the llvm-commits