diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2019-09-25 13:29:09 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2019-09-25 13:29:09 +0000 |
| commit | 2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0 (patch) | |
| tree | 742840a75e3e3e25c93dc802a9003cc0b091b883 /llvm/test/Bitcode | |
| parent | 791526085338594381adcacc13f04a4834e56d36 (diff) | |
| download | bcm5719-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/test/Bitcode')
| -rw-r--r-- | llvm/test/Bitcode/compatibility.ll | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/test/Bitcode/compatibility.ll b/llvm/test/Bitcode/compatibility.ll index 9e7f6ac9917..b17aeda8ebb 100644 --- a/llvm/test/Bitcode/compatibility.ll +++ b/llvm/test/Bitcode/compatibility.ll @@ -861,27 +861,6 @@ define void @fastmathflags_vector_select(<2 x i1> %cond, <2 x double> %op1, <2 x ret void } -define void @fastmathflags_phi(i1 %cond, float %f1, float %f2, double %d1, double %d2, half %h1, half %h2) { -entry: - br i1 %cond, label %L1, label %L2 -L1: - br label %exit -L2: - br label %exit -exit: - %p.nnan = phi nnan float [ %f1, %L1 ], [ %f2, %L2 ] - ; CHECK: %p.nnan = phi nnan float [ %f1, %L1 ], [ %f2, %L2 ] - %p.ninf = phi ninf double [ %d1, %L1 ], [ %d2, %L2 ] - ; CHECK: %p.ninf = phi ninf double [ %d1, %L1 ], [ %d2, %L2 ] - %p.contract = phi contract half [ %h1, %L1 ], [ %h2, %L2 ] - ; CHECK: %p.contract = phi contract half [ %h1, %L1 ], [ %h2, %L2 ] - %p.nsz.reassoc = phi reassoc nsz float [ %f1, %L1 ], [ %f2, %L2 ] - ; CHECK: %p.nsz.reassoc = phi reassoc nsz float [ %f1, %L1 ], [ %f2, %L2 ] - %p.fast = phi fast half [ %h2, %L1 ], [ %h1, %L2 ] - ; CHECK: %p.fast = phi fast half [ %h2, %L1 ], [ %h1, %L2 ] - ret void -} - ; Check various fast math flags and floating-point types on calls. declare float @fmf1() |

