Re-apply r237247 - [AArch64] Codegen VMAX/VMIN for safe math cases
[oota-llvm.git] / lib / Target / ARM / ARMISelLowering.cpp
index 36b24ef99df39568ed2b1033a7d86a81de6d7d17..5218234abeb8be111a4af3be03c8dae3b90464eb 100644 (file)
@@ -3521,9 +3521,6 @@ SDValue ARMTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
     //   c = fcmp [?gt, ?ge, ?lt, ?le] a, b
     //   select c, a, b
     // In NoNaNsFPMath the CC will have been changed from, e.g., 'ogt' to 'gt'.
-    // FIXME: There is similar code that allows some extensions in
-    // AArch64TargetLowering::LowerSELECT_CC that should be shared with this
-    // code.
     bool swapSides = false;
     if (!getTargetMachine().Options.NoNaNsFPMath) {
       // transformability may depend on which way around we compare