llvm.org GIT mirror llvm / 0e5d73f
OpaquePtr: pass type to CreateLoad. NFC. This is the one place in LLVM itself that used the deprecated API for CreateLoad, so I just added the type in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365472 91177308-0d34-0410-b5e6-96231b3b80d8 Tim Northover 1 year, 4 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
127127 CallInst *Call;
128128 IntrinsicInst *II;
129129
130 V = Builder.CreateLoad(GV);
130 V = Builder.CreateLoad(GV->getValueType(), GV);
131131
132132 // See if we get constrained intrinsics instead of non-constrained
133133 // instructions.