brintos

brintos / llvm-project-archived public Read only

0
0
Text · 397 B · 1755cef Raw
17 lines · plain
1// Test for referencing a variable defined on the same line2// RUN: FileCheck -input-file %s %s3 4op1 r1, r2, r15 6; CHECK: op1 [[REG:r[0-9]+]], {{r[0-9]+}}, [[REG]]7 8op3 r1, r2, r1, r29 10; CHECK: op3 [[REG1:r[0-9]+]], [[REG2:r[0-9]+]], [[REG1]], [[REG2]]11 12op4 g1, g2, g113 14; Test that parens inside the regex don't confuse FileCheck15; CHECK: {{([a-z]+[0-9])+}} [[REG:g[0-9]+]], {{g[0-9]+}}, [[REG]]16 17