Commit ef72c31
authored
[Tests] Improve regex for test_compile_only_dot (#7602)
After #7521 this test could fail when TRITON_DISABLE_LINE_INFO=0 The CI
sets TRITON_DISABLE_LINE_INFO=1 so variable names wouldn't be generated
and the test would pass just with the \d+ regex.
An example is this:
```
; this one is ok
%14 = tt.load %9 : tensor<64x64x!tt.ptr<f16>, #blocked1> loc(#loc9)
; with variable name regex fails
%a = tt.load %a_ptr_9 : tensor<64x64x!tt.ptr<f16>, #blocked1> loc(#loc26)
```
Other tests seem to be already using \w so they are ok.1 parent a7a89c7 commit ef72c31
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments