[llvm] 494ba60 - [PowerPC, test] Fix use of undef FileCheck var

Thomas Preud'homme via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 9 04:09:47 PDT 2021


Author: Thomas Preud'homme
Date: 2021-04-09T12:09:48+01:00
New Revision: 494ba60bb71e234141205db0d3615e9da923e58e

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

LOG: [PowerPC, test] Fix use of undef FileCheck var

Commit 6646033e6e759657b6122fde64844fd28a2c9635 removed the definition
of variable RESULT used in two CHECK-NOT directives in LLVM test
CodeGen/PowerPC/ppc64-i128-abi.ll. This commit replaces the uses by the
regex that was used to define that variable.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D99868

Added: 
    

Modified: 
    llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll b/llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll
index 2593fa4c0003..ec76d59c1176 100644
--- a/llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll
+++ b/llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll
@@ -105,12 +105,12 @@ define <1 x i128> @v1i128_increment_by_val(<1 x i128> %a, <1 x i128> %b) nounwin
 ; CHECK-BE-LABEL: @v1i128_increment_by_val
 ; CHECK-BE-NOT: xxswapd {{[0-9]+}}, 34
 ; CHECK-BE-NOT: xxswapd {{[0-9]+}}, 35
-; CHECK-BE-NOT: xxswapd 34, [[RESULT]]
+; CHECK-BE-NOT: xxswapd 34, {{[0-9]+}}
 ; CHECK-BE: adduqm 2, 2, 3
 ; CHECK-BE: blr
 
 ; CHECK-NOVSX-LABEL: @v1i128_increment_by_val
-; CHECK-NOVSX-NOT: xxswapd 34, [[RESULT]]
+; CHECK-NOVSX-NOT: xxswapd 34, {{[0-9]+}}
 ; CHECK-NOVSX: adduqm 2, 2, 3
 ; CHECK-NOVSX: blr
 }


        


More information about the llvm-commits mailing list