summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-06-13 20:34:47 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-06-13 20:34:47 +0000
commit7c69df968cc96e401ddf943fb0617561ac54ee45 (patch)
tree608da2b7ffb69c1c3fedb028e6276a8362a993ec
parent3f8ff0449aabe723f8d8fe538a413f0363314cae (diff)
downloadbcm5719-llvm-7c69df968cc96e401ddf943fb0617561ac54ee45.tar.gz
bcm5719-llvm-7c69df968cc96e401ddf943fb0617561ac54ee45.zip
I am sure I had commited this workaround before. Perhaps soon I should sort it all out
llvm-svn: 28772
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
index 885fcf445c2..bbb18cb2c05 100644
--- a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
@@ -286,12 +286,12 @@ void AlphaDAGToDAGISel::Select(SDOperand &Result, SDOperand Op) {
bool isNE = false;
switch(CC) {
default: N->dump(); assert(0 && "Unknown FP comparison!");
- case ISD::SETEQ: Opc = Alpha::CMPTEQ; break;
- case ISD::SETLT: Opc = Alpha::CMPTLT; break;
- case ISD::SETLE: Opc = Alpha::CMPTLE; break;
- case ISD::SETGT: Opc = Alpha::CMPTLT; rev = true; break;
- case ISD::SETGE: Opc = Alpha::CMPTLE; rev = true; break;
- case ISD::SETNE: Opc = Alpha::CMPTEQ; isNE = true; break;
+ case ISD::SETEQ: case ISD::SETOEQ: case ISD::SETUEQ: Opc = Alpha::CMPTEQ; break;
+ case ISD::SETLT: case ISD::SETOLT: case ISD::SETULT: Opc = Alpha::CMPTLT; break;
+ case ISD::SETLE: case ISD::SETOLE: case ISD::SETULE: Opc = Alpha::CMPTLE; break;
+ case ISD::SETGT: case ISD::SETOGT: case ISD::SETUGT: Opc = Alpha::CMPTLT; rev = true; break;
+ case ISD::SETGE: case ISD::SETOGE: case ISD::SETUGE: Opc = Alpha::CMPTLE; rev = true; break;
+ case ISD::SETNE: case ISD::SETONE: case ISD::SETUNE: Opc = Alpha::CMPTEQ; isNE = true; break;
};
SDOperand tmp1, tmp2;
Select(tmp1, N->getOperand(0));
OpenPOWER on IntegriCloud