mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Use ExtractElementInst::Create instead of new; patch by Artur Pietrek!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c7276f17e
commit
5a325e3663
@ -174,7 +174,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
Value *CreateExtractElement(Constant *Vec, Constant *Idx) const {
|
Value *CreateExtractElement(Constant *Vec, Constant *Idx) const {
|
||||||
return new ExtractElementInst(Vec, Idx);
|
return ExtractElementInst::Create(Vec, Idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
Value *CreateInsertElement(Constant *Vec, Constant *NewElt,
|
Value *CreateInsertElement(Constant *Vec, Constant *NewElt,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user