[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86InstrInfo.td
Evan Cheng
evan.cheng at apple.com
Thu Jan 12 00:28:12 PST 2006
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.32 -> 1.33
X86InstrInfo.td updated: 1.199 -> 1.200
---
Log message:
X86ISD::SETCC (e.g. SETEr) produces a flag (so multiple SETCC can be
linked together).
---
Diffs of the changes: (+4 -3)
X86ISelLowering.cpp | 4 ++--
X86InstrInfo.td | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.32 llvm/lib/Target/X86/X86ISelLowering.cpp:1.33
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.32 Thu Jan 12 01:56:47 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Thu Jan 12 02:27:59 2006
@@ -161,8 +161,8 @@
if (X86ScalarSSE) {
// Set up the FP register classes.
- addRegisterClass(MVT::f32, X86::V4F4RegisterClass);
- addRegisterClass(MVT::f64, X86::V2F8RegisterClass);
+ addRegisterClass(MVT::f32, X86::FR32RegisterClass);
+ addRegisterClass(MVT::f64, X86::FR64RegisterClass);
// SSE has no load+extend ops
setOperationAction(ISD::EXTLOAD, MVT::f32, Expand);
Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.199 llvm/lib/Target/X86/X86InstrInfo.td:1.200
--- llvm/lib/Target/X86/X86InstrInfo.td:1.199 Thu Jan 12 01:56:47 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td Thu Jan 12 02:27:59 2006
@@ -74,7 +74,8 @@
[SDNPOutFlag]>;
def X86brcond : SDNode<"X86ISD::BRCOND", SDTX86BrCond,
[SDNPHasChain]>;
-def X86setcc : SDNode<"X86ISD::SETCC", SDTX86SetCC, []>;
+def X86setcc : SDNode<"X86ISD::SETCC", SDTX86SetCC,
+ [SDNPOutFlag]>;
def X86retflag : SDNode<"X86ISD::RET_FLAG", SDTX86Ret,
[SDNPHasChain, SDNPOptInFlag]>;
More information about the llvm-commits
mailing list