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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 08:49:28 PDT 2024


================
@@ -1244,8 +1244,7 @@ static llvm::Function *createCatchWrappedInvokeFunction(
   llvm::Value *unwindExceptionClass =
       builder.CreateLoad(builder.CreateStructGEP(
           ourUnwindExceptionType,
-          builder.CreatePointerCast(unwindException,
-                                    ourUnwindExceptionType->getPointerTo()),
+          builder.CreatePointerCast(unwindException, builder.getPtrTy()),
----------------
nikic wrote:

Also drop the pointer cast.

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


More information about the llvm-commits mailing list