[PATCH] D29238: InferAddressSpaces: Handle select

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 10:59:14 PST 2017

jlebar added inline comments.

Comment at: lib/Transforms/Scalar/InferAddressSpaces.cpp:419
+    return SelectInst::Create(I->getOperand(0), NewPointerOperands[1],
+                              NewPointerOperands[2], "", nullptr, I);
+  }
It would be cool to retain I's name.  But I guess we don't do this anywhere else, so we should do it separately.


More information about the llvm-commits mailing list