[llvm] f314bcf - [llvm-reduce][test] Make remove-alias.ll CHECK patterns more specific after D90302

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 20 20:06:09 PST 2020


Author: Fangrui Song
Date: 2020-12-20T20:06:02-08:00
New Revision: f314bcffa3c6083079831dde4e7bc124a25e0c04

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

LOG: [llvm-reduce][test] Make remove-alias.ll CHECK patterns more specific after D90302

`CHECK-FINAL-NOT: global` can match the input filename (e.g. clang-cmake-aarch64-global-isel)
and fail spuriously.

Added: 
    

Modified: 
    llvm/test/Reduce/remove-alias.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Reduce/remove-alias.ll b/llvm/test/Reduce/remove-alias.ll
index 1859388f4387..8558068366a3 100644
--- a/llvm/test/Reduce/remove-alias.ll
+++ b/llvm/test/Reduce/remove-alias.ll
@@ -5,8 +5,7 @@
 
 ; CHECK-INTERESTINGNESS: define void @fn3
 
-; CHECK-FINAL-NOT: global
-
+; CHECK-FINAL-NOT: = {{.*}} global
 ; CHECK-FINAL-NOT: = alias
 
 ; CHECK-FINAL-NOT: @llvm.used


        


More information about the llvm-commits mailing list