[llvm] Clean up after transition into opaque pointers. NFC (PR #102631)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 03:59:28 PDT 2024


================
@@ -2386,7 +2386,7 @@ static Instruction *foldSelectCmpBitcasts(SelectInst &Sel,
   } else {
     return nullptr;
   }
-  return CastInst::CreateBitOrPointerCast(NewSel, Sel.getType());
+  return CastInst::Create(Instruction::BitCast, NewSel, Sel.getType());
----------------
bjope wrote:

Done!

https://github.com/llvm/llvm-project/pull/102631


More information about the llvm-commits mailing list