forked from OSchip/llvm-project
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. llvm-svn: 365472
This commit is contained in:
parent
e995ce5498
commit
13b204fee1
|
@ -128,7 +128,7 @@ TEST_F(IRBuilderTest, ConstrainedFP) {
|
|||
CallInst *Call;
|
||||
IntrinsicInst *II;
|
||||
|
||||
V = Builder.CreateLoad(GV);
|
||||
V = Builder.CreateLoad(GV->getValueType(), GV);
|
||||
|
||||
// See if we get constrained intrinsics instead of non-constrained
|
||||
// instructions.
|
||||
|
|
Loading…
Reference in New Issue