diff --git a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll index c615ebb0db9d..4c86c55a8f85 100644 --- a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll +++ b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll @@ -90,14 +90,14 @@ back: ; CHECK-LABEL: test2: ; CHECK: block BB2_2{{$}} -; CHECK: br_if {{.*}}, BB2_2{{$}} +; CHECK: br_if {{[^,]*}}, BB2_2{{$}} ; CHECK: BB2_1: ; CHECK: br_if ${{[0-9]+}}, BB2_1{{$}} ; CHECK: BB2_2: ; CHECK: return{{$}} ; OPT-LABEL: test2: ; OPT: block BB2_2{{$}} -; OPT: br_if {{.*}}, BB2_2{{$}} +; OPT: br_if {{[^,]*}}, BB2_2{{$}} ; OPT: BB2_1: ; OPT: br_if ${{[0-9]+}}, BB2_1{{$}} ; OPT: BB2_2: @@ -140,9 +140,9 @@ for.end: ; OPT-LABEL: doublediamond: ; OPT: block BB3_5{{$}} ; OPT: block BB3_4{{$}} -; OPT: br_if {{.*}}, BB3_4{{$}} +; OPT: br_if {{[^,]*}}, BB3_4{{$}} ; OPT: block BB3_3{{$}} -; OPT: br_if {{.*}}, BB3_3{{$}} +; OPT: br_if {{[^,]*}}, BB3_3{{$}} ; OPT: br BB3_5{{$}} ; OPT: BB3_4: ; OPT: BB3_5: @@ -204,7 +204,7 @@ exit: ; OPT-LABEL: diamond: ; OPT: block BB5_3{{$}} ; OPT: block BB5_2{{$}} -; OPT: br_if {{.*}}, BB5_2{{$}} +; OPT: br_if {{[^,]*}}, BB5_2{{$}} ; OPT: br BB5_3{{$}} ; OPT: BB5_2: ; OPT: BB5_3: @@ -269,7 +269,7 @@ loop: ; OPT-NOT: br ; OPT: BB8_1: ; OPT: loop BB8_2{{$}} -; OPT: br_if {{.*}}, BB8_1{{$}} +; OPT: br_if {{[^,]*}}, BB8_1{{$}} ; OPT: BB8_2: ; OPT: return ${{[0-9]+}}{{$}} define i32 @simple_loop(i32* %p, i32 %a) { @@ -333,7 +333,7 @@ exit: ; OPT-LABEL: ifelse_earlyexits: ; OPT: block BB10_4{{$}} ; OPT: block BB10_3{{$}} -; OPT: br_if {{.*}}, BB10_3{{$}} +; OPT: br_if {{[^,]*}}, BB10_3{{$}} ; OPT: br_if $1, BB10_4{{$}} ; OPT: br BB10_4{{$}} ; OPT: BB10_3: @@ -379,9 +379,9 @@ exit: ; OPT: loop BB11_7{{$}} ; OPT: block BB11_6{{$}} ; OPT: block BB11_5{{$}} -; OPT: br_if {{.*}}, BB11_5{{$}} +; OPT: br_if {{[^,]*}}, BB11_5{{$}} ; OPT: block BB11_4{{$}} -; OPT: br_if {{.*}}, BB11_4{{$}} +; OPT: br_if {{[^,]*}}, BB11_4{{$}} ; OPT: br BB11_6{{$}} ; OPT: BB11_4: ; OPT: br BB11_6{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/cpus.ll b/llvm/test/CodeGen/WebAssembly/cpus.ll index bbc9c8fe4f31..2b77c5f475c8 100644 --- a/llvm/test/CodeGen/WebAssembly/cpus.ll +++ b/llvm/test/CodeGen/WebAssembly/cpus.ll @@ -9,8 +9,8 @@ ; RUN: llc < %s -mtriple=wasm32-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID ; RUN: llc < %s -mtriple=wasm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID -; CHECK-NOT: {{.*}} is not a recognized processor for this target -; INVALID: {{.*}} is not a recognized processor for this target +; CHECK-NOT: {{.*}} is not a recognized processor for this target +; INVALID: {{.*}} is not a recognized processor for this target define i32 @f(i32 %i_like_the_web) { ret i32 %i_like_the_web diff --git a/llvm/test/CodeGen/WebAssembly/switch.ll b/llvm/test/CodeGen/WebAssembly/switch.ll index c62333c336fa..b146a239b419 100644 --- a/llvm/test/CodeGen/WebAssembly/switch.ll +++ b/llvm/test/CodeGen/WebAssembly/switch.ll @@ -21,7 +21,7 @@ declare void @foo5() ; CHECK: block BB0_4{{$}} ; CHECK: block BB0_3{{$}} ; CHECK: block BB0_2{{$}} -; CHECK: tableswitch {{.*}}, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_4, BB0_4, BB0_4, BB0_4, BB0_4, BB0_4, BB0_5, BB0_6, BB0_7{{$}} +; CHECK: tableswitch {{[^,]*}}, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_2, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_3, BB0_4, BB0_4, BB0_4, BB0_4, BB0_4, BB0_4, BB0_5, BB0_6, BB0_7{{$}} ; CHECK: BB0_2: ; CHECK: call foo0 ; CHECK: BB0_3: @@ -101,7 +101,7 @@ sw.epilog: ; preds = %entry, %sw.bb.5, %s ; CHECK: block BB1_4{{$}} ; CHECK: block BB1_3{{$}} ; CHECK: block BB1_2{{$}} -; CHECK: tableswitch {{.*}}, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_4, BB1_4, BB1_4, BB1_4, BB1_4, BB1_4, BB1_5, BB1_6, BB1_7{{$}} +; CHECK: tableswitch {{[^,]*}}, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_2, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_3, BB1_4, BB1_4, BB1_4, BB1_4, BB1_4, BB1_4, BB1_5, BB1_6, BB1_7{{$}} ; CHECK: BB1_2: ; CHECK: call foo0 ; CHECK: BB1_3: