mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
X86ISD::SETCC (e.g. SETEr) produces a flag (so multiple SETCC can be
linked together). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
002fe9baf2
commit
5ee4ccce5b
@ -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);
|
||||
|
@ -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]>;
|
||||
|
Loading…
Reference in New Issue
Block a user