[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

Evan Cheng evan.cheng at apple.com
Mon Apr 17 00:24:23 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.168 -> 1.169
---
Log message:

FP SETOLT, SETOLT, SETUGE, SETUGT conditions were implemented incorrectly

---
Diffs of the changes:  (+4 -4)

 X86ISelLowering.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.168 llvm/lib/Target/X86/X86ISelLowering.cpp:1.169
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.168	Sat Apr 15 00:37:34 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp	Mon Apr 17 02:24:10 2006
@@ -1238,16 +1238,16 @@
     default: break;
     case ISD::SETUEQ:
     case ISD::SETEQ: X86CC = X86ISD::COND_E;  break;
-    case ISD::SETOLE: Flip = true; // Fallthrough
+    case ISD::SETOLT: Flip = true; // Fallthrough
     case ISD::SETOGT:
     case ISD::SETGT: X86CC = X86ISD::COND_A;  break;
-    case ISD::SETOLT: Flip = true; // Fallthrough
+    case ISD::SETOLE: Flip = true; // Fallthrough
     case ISD::SETOGE:
     case ISD::SETGE: X86CC = X86ISD::COND_AE; break;
-    case ISD::SETUGE: Flip = true; // Fallthrough
+    case ISD::SETUGT: Flip = true; // Fallthrough
     case ISD::SETULT:
     case ISD::SETLT: X86CC = X86ISD::COND_B;  break;
-    case ISD::SETUGT: Flip = true; // Fallthrough
+    case ISD::SETUGE: Flip = true; // Fallthrough
     case ISD::SETULE:
     case ISD::SETLE: X86CC = X86ISD::COND_BE; break;
     case ISD::SETONE:






More information about the llvm-commits mailing list