diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-02 09:08:51 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-02 09:08:51 +0000 |
commit | ad23f270dbbe8c55f7739118be97272eddd9e9df (patch) | |
tree | ed9a0448c12fea5638e0461953a79e6f91e8a967 /llvm/test/CodeGen/X86/select_const.ll | |
parent | c066a92657a78f13b5e490e1b51c11d740671de0 (diff) | |
download | bcm5719-llvm-ad23f270dbbe8c55f7739118be97272eddd9e9df.tar.gz bcm5719-llvm-ad23f270dbbe8c55f7739118be97272eddd9e9df.zip |
[X86] Standardize floating point assembly comments
Consistently try to use APFloat::toString for floating point constant comments to get rid of differences between Constant / ConstantDataSequential values - it should help stop some of the linux-windows buildbot failures matching NaN/INF etc. as well.
Differential Revision: https://reviews.llvm.org/D52702
llvm-svn: 343562
Diffstat (limited to 'llvm/test/CodeGen/X86/select_const.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/select_const.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/select_const.ll b/llvm/test/CodeGen/X86/select_const.ll index fb7746ac741..dcd57d2f537 100644 --- a/llvm/test/CodeGen/X86/select_const.ll +++ b/llvm/test/CodeGen/X86/select_const.ll @@ -468,10 +468,10 @@ define <2 x double> @sel_constants_fmul_constant_vec(i1 %cond) { ; CHECK-NEXT: testb $1, %dil ; CHECK-NEXT: jne .LBB37_1 ; CHECK-NEXT: # %bb.2: -; CHECK-NEXT: movaps {{.*#+}} xmm0 = [1.188300e+02,3.454000e+01] +; CHECK-NEXT: movaps {{.*#+}} xmm0 = [118.83,34.539999999999999] ; CHECK-NEXT: retq ; CHECK-NEXT: .LBB37_1: -; CHECK-NEXT: movaps {{.*#+}} xmm0 = [-2.040000e+01,3.768000e+01] +; CHECK-NEXT: movaps {{.*#+}} xmm0 = [-20.399999999999999,37.68] ; CHECK-NEXT: retq %sel = select i1 %cond, <2 x double> <double -4.0, double 12.0>, <2 x double> <double 23.3, double 11.0> %bo = fmul <2 x double> %sel, <double 5.1, double 3.14> |