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

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 4 16:02:54 PDT 2021


thopre created this revision.
thopre added reviewers: kbarton, nemanjai, wschmidt, uweigand, seurer, hfinkel.
Herald added subscribers: steven.zhang, shchenz.
thopre requested review of this revision.
Herald added a project: LLVM.

Commit 6646033e6e759657b6122fde64844fd28a2c9635 removes 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99868

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


Index: llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll
===================================================================
--- llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll
+++ llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll
@@ -105,12 +105,12 @@
 ; 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
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99868.335184.patch
Type: text/x-patch
Size: 675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210404/fce64b16/attachment.bin>


More information about the llvm-commits mailing list