summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorArtyom Skrobov <Artyom.Skrobov@arm.com>2015-05-13 12:01:09 +0000
committerArtyom Skrobov <Artyom.Skrobov@arm.com>2015-05-13 12:01:09 +0000
commitb526681e085c8e6e99b15478f8d1b5ee0aee5fcd (patch)
tree2d7a0401b324428ccc3ee5890e9762631bfbef0d /llvm/lib/Target/ARM/ARMISelLowering.cpp
parente60cba13378de35d7fff28efd9a552364261a2e5 (diff)
downloadbcm5719-llvm-b526681e085c8e6e99b15478f8d1b5ee0aee5fcd.tar.gz
bcm5719-llvm-b526681e085c8e6e99b15478f8d1b5ee0aee5fcd.zip
[AArch64] Codegen VMAX/VMIN for safe math cases
llvm-svn: 237247
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index fd956d4670e..f8a0ebeefde 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -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
OpenPOWER on IntegriCloud