[clang] ee13633 - [NFC][clang] Strengthen checks in avx512fp16-builtins.c

Nuno Lopes via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 4 06:57:56 PST 2022


Author: John McIver
Date: 2022-12-04T14:57:43Z
New Revision: ee13633c46cda3826d384d60c85057085025eebb

URL: https://github.com/llvm/llvm-project/commit/ee13633c46cda3826d384d60c85057085025eebb
DIFF: https://github.com/llvm/llvm-project/commit/ee13633c46cda3826d384d60c85057085025eebb.diff

LOG: [NFC][clang] Strengthen checks in avx512fp16-builtins.c

* Add end-of-line check to load instructions

Added: 
    

Modified: 
    clang/test/CodeGen/X86/avx512fp16-builtins.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/X86/avx512fp16-builtins.c b/clang/test/CodeGen/X86/avx512fp16-builtins.c
index c3cf59a8705b..7bd4b2aac38b 100644
--- a/clang/test/CodeGen/X86/avx512fp16-builtins.c
+++ b/clang/test/CodeGen/X86/avx512fp16-builtins.c
@@ -1473,19 +1473,19 @@ __m128h test_mm_maskz_load_sh(__mmask8 __U, const void *__W) {
 
 __m512h test_mm512_load_ph(void *p) {
   // CHECK-LABEL: @test_mm512_load_ph
-  // CHECK: load <32 x half>, <32 x half>* %{{.*}}, align 64
+  // CHECK: load <32 x half>, <32 x half>* %{{.*}}, align 64{{$}}
   return _mm512_load_ph(p);
 }
 
 __m256h test_mm256_load_ph(void *p) {
   // CHECK-LABEL: @test_mm256_load_ph
-  // CHECK: load <16 x half>, <16 x half>* %{{.*}}, align 32
+  // CHECK: load <16 x half>, <16 x half>* %{{.*}}, align 32{{$}}
   return _mm256_load_ph(p);
 }
 
 __m128h test_mm_load_ph(void *p) {
   // CHECK-LABEL: @test_mm_load_ph
-  // CHECK: load <8 x half>, <8 x half>* %{{.*}}, align 16
+  // CHECK: load <8 x half>, <8 x half>* %{{.*}}, align 16{{$}}
   return _mm_load_ph(p);
 }
 


        


More information about the cfe-commits mailing list