[PATCH] D46722: [InstCombine] fix crash due to ignored addrspacecast

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 01:44:47 PDT 2018


arsenm added inline comments.


================
Comment at: test/Transforms/InstCombine/gep-addrspace.ll:45
+  %tmpcast = bitcast i16* %0 to [2 x i8]*
+; CHECK: addrspacecast
+  %1 = addrspacecast [2 x i8]* %tmpcast to [2 x i8] addrspace(11)*
----------------
 Seems like more should be checked, like the GEP from the broken transform (as well as the source/dest address spaces)


Repository:
  rL LLVM

https://reviews.llvm.org/D46722





More information about the llvm-commits mailing list