[llvm] [IR] Replace uses of IRBuilder::getInt8PtrTy with getPtrTy. NFC (PR #73154)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 11:15:04 PST 2023


================
@@ -1806,7 +1806,7 @@ OpenMPIRBuilder::createTask(const LocationDescription &Loc,
         ++P;
       }
 
-      DepArrayPtr = Builder.CreateBitCast(DepArray, Builder.getInt8PtrTy());
+      DepArrayPtr = Builder.CreateBitCast(DepArray, Builder.getPtrTy());
----------------
topperc wrote:

Yeah. I'm going to rename DepArrayPtr and change the DepArray declaration in this if to an assignment to DepArray declared before the.

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


More information about the llvm-commits mailing list