From 0fc71c52cfe2f8fdffe193d11ab60e714cc22e93 Mon Sep 17 00:00:00 2001 From: Leonard Chan Date: Wed, 20 Jun 2018 18:48:05 +0000 Subject: [PATCH] Fixed test that failed when checking what variable a value was stored in for fixed point types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335155 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Frontend/fixed_point_same_fbits.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/Frontend/fixed_point_same_fbits.c b/test/Frontend/fixed_point_same_fbits.c index ad88d1a73b..255f7de89f 100644 --- a/test/Frontend/fixed_point_same_fbits.c +++ b/test/Frontend/fixed_point_same_fbits.c @@ -12,17 +12,17 @@ void func() { unsigned _Fract u_fract = 0.5ur; unsigned long _Fract u_long_fract = 0.5ulr; -// DEFAULT: store i16 128, i16* %u_short_accum, align 2 -// DEFAULT: store i32 32768, i32* %u_accum, align 4 -// DEFAULT: store i64 2147483648, i64* %u_long_accum, align 8 -// DEFAULT: store i8 -128, i8* %u_short_fract, align 1 -// DEFAULT: store i16 -32768, i16* %u_fract, align 2 -// DEFAULT: store i32 -2147483648, i32* %u_long_fract, align 4 +// DEFAULT: store i16 128, i16* {{.*}}, align 2 +// DEFAULT: store i32 32768, i32* {{.*}}, align 4 +// DEFAULT: store i64 2147483648, i64* {{.*}}, align 8 +// DEFAULT: store i8 -128, i8* {{.*}}, align 1 +// DEFAULT: store i16 -32768, i16* {{.*}}, align 2 +// DEFAULT: store i32 -2147483648, i32* {{.*}}, align 4 -// SAME: store i16 64, i16* %u_short_accum, align 2 -// SAME: store i32 16384, i32* %u_accum, align 4 -// SAME: store i64 1073741824, i64* %u_long_accum, align 8 -// SAME: store i8 64, i8* %u_short_fract, align 1 -// SAME: store i16 16384, i16* %u_fract, align 2 -// SAME: store i32 1073741824, i32* %u_long_fract, align 4 +// SAME: store i16 64, i16* {{.*}}, align 2 +// SAME: store i32 16384, i32* {{.*}}, align 4 +// SAME: store i64 1073741824, i64* {{.*}}, align 8 +// SAME: store i8 64, i8* {{.*}}, align 1 +// SAME: store i16 16384, i16* {{.*}}, align 2 +// SAME: store i32 1073741824, i32* {{.*}}, align 4 } -- 2.40.0