summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/FloatingPoint.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-10 20:31:28 +0000
committerChris Lattner <sabre@nondot.org>2004-02-10 20:31:28 +0000
commit92252f42c3cc6290d3736466406f5aaa37771da5 (patch)
tree34ce156d098b975c72256a7f184c658573dc61b5 /llvm/lib/Target/X86/FloatingPoint.cpp
parent13d2f3bbc0282a05e6de4a84bd2fc7f5a1e0985b (diff)
downloadbcm5719-llvm-92252f42c3cc6290d3736466406f5aaa37771da5.tar.gz
bcm5719-llvm-92252f42c3cc6290d3736466406f5aaa37771da5.zip
Don't use MachineOperator::is(Phys|Virt)Register
llvm-svn: 11276
Diffstat (limited to 'llvm/lib/Target/X86/FloatingPoint.cpp')
-rw-r--r--llvm/lib/Target/X86/FloatingPoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/FloatingPoint.cpp b/llvm/lib/Target/X86/FloatingPoint.cpp
index 4231776aeef..0a0fe9b2c2c 100644
--- a/llvm/lib/Target/X86/FloatingPoint.cpp
+++ b/llvm/lib/Target/X86/FloatingPoint.cpp
@@ -357,7 +357,7 @@ void FPS::popStackAfter(MachineBasicBlock::iterator &I) {
}
static unsigned getFPReg(const MachineOperand &MO) {
- assert(MO.isPhysicalRegister() && "Expected an FP register!");
+ assert(MO.isRegister() && "Expected an FP register!");
unsigned Reg = MO.getReg();
assert(Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP register!");
return Reg - X86::FP0;
OpenPOWER on IntegriCloud