1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

X86ISD::SETCC (e.g. SETEr) produces a flag (so multiple SETCC can be

linked together).

llvm-svn: 25247
This commit is contained in:
Evan Cheng 2006-01-12 08:27:59 +00:00
parent dd45d29b56
commit 978f5581c4
2 changed files with 4 additions and 3 deletions

View File

@ -161,8 +161,8 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
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);

View File

@ -74,7 +74,8 @@ def X86cmov : SDNode<"X86ISD::CMOV", SDTX86Cmov,
[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]>;