OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e2568
)
Add a MachineInstrBuilder method for adding floating-point
author
Dan Gohman
<gohman@apple.com>
Tue, 26 Aug 2008 23:19:23 +0000
(23:19 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 26 Aug 2008 23:19:23 +0000
(23:19 +0000)
immediate operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55397
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstrBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index
0b1f2f7
..
3c0dcfe
100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/
include/llvm/CodeGen/MachineInstrBuilder.h
@@
-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;