diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-06-13 20:34:47 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-06-13 20:34:47 +0000 |
commit | c8aba85e1c8bfa3ca5b1810bd8e942fa98c5da56 (patch) | |
tree | b8056152d6f4043adfa0f7812097084c2bb37245 /lib/Target/Alpha/AlphaISelDAGToDAG.cpp | |
parent | 7be3f1e0788163775cd7c9e4dc6bc82578f28f9e (diff) | |
download | external_llvm-c8aba85e1c8bfa3ca5b1810bd8e942fa98c5da56.zip external_llvm-c8aba85e1c8bfa3ca5b1810bd8e942fa98c5da56.tar.gz external_llvm-c8aba85e1c8bfa3ca5b1810bd8e942fa98c5da56.tar.bz2 |
I am sure I had commited this workaround before. Perhaps soon I should sort it all out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/lib/Target/Alpha/AlphaISelDAGToDAG.cpp index 885fcf4..bbb18cb 100644 --- a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp +++ b/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)); |