summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-09-25 13:29:09 +0000
committerSanjay Patel <spatel@rotateright.com>2019-09-25 13:29:09 +0000
commit2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0 (patch)
tree742840a75e3e3e25c93dc802a9003cc0b091b883 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent791526085338594381adcacc13f04a4834e56d36 (diff)
downloadbcm5719-llvm-2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0.tar.gz
bcm5719-llvm-2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0.zip
Revert [IR] allow fast-math-flags on phi of FP values
This reverts r372866 (git commit dec03223a97af0e4dfcb23da55c0f7f8c9b62d00) llvm-svn: 372868
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 0333232983d..b3a6e284f4f 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -5951,7 +5951,7 @@ bool CodeGenPrepare::optimizeSelectInst(SelectInst *SI) {
// If branch conversion isn't desirable, exit early.
if (DisableSelectToBranch || OptSize || !TLI)
return false;
-TLI->isSelectSupported(<#SelectSupportKind#>)
+
// Find all consecutive select instructions that share the same condition.
SmallVector<SelectInst *, 2> ASI;
ASI.push_back(SI);
OpenPOWER on IntegriCloud