From 2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Wed, 25 Sep 2019 13:29:09 +0000 Subject: Revert [IR] allow fast-math-flags on phi of FP values This reverts r372866 (git commit dec03223a97af0e4dfcb23da55c0f7f8c9b62d00) llvm-svn: 372868 --- llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp') 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 ASI; ASI.push_back(SI); -- cgit v1.2.3