diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll b/llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll index ba43d682268..aec85136768 100644 --- a/llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll +++ b/llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx2,fma -recip=sqrt:2 -stop-after=expand-isel-pseudos 2>&1 | FileCheck %s +; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx2,fma -stop-after=expand-isel-pseudos 2>&1 | FileCheck %s declare float @llvm.sqrt.f32(float) #0 @@ -48,5 +48,5 @@ define float @rfoo(float %f) #0 { ret float %div } -attributes #0 = { "unsafe-fp-math"="true" } +attributes #0 = { "unsafe-fp-math"="true" "reciprocal-estimates"="sqrt:2" } attributes #1 = { nounwind readnone } |