mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Add a MachineInstrBuilder method for adding floating-point
immediate operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
97e2568f46
commit
4b6e7069c3
@ -52,6 +52,11 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
const MachineInstrBuilder &addFPImm(ConstantFP *Val) const {
|
||||
MI->addOperand(MachineOperand::CreateFPImm(Val));
|
||||
return *this;
|
||||
}
|
||||
|
||||
const MachineInstrBuilder &addMBB(MachineBasicBlock *MBB) const {
|
||||
MI->addOperand(MachineOperand::CreateMBB(MBB));
|
||||
return *this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user