aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenHLSL/semantics/semantic.struct.hlsl
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2025-11-06 15:00:19 -0800
committerGitHub <noreply@github.com>2025-11-07 01:00:19 +0200
commit8b422006af02766a0e1577108260200944106530 (patch)
treee3a362628837b8d536b2a001b53aed11eb9abedb /clang/test/CodeGenHLSL/semantics/semantic.struct.hlsl
parentfa83723bbe55f2aee857438f8087c4fc0f52449e (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[mlir][ods] Enable basic string interpolation in constraint summary. (#153603)HEADmain
This enables printing, for example, the attribute value from a mismatched predicate. Example of resultant output (here made non-negative report value seen as sign-extended int): ``` PDL/ops.mlir:21:1: error: 'pdl.pattern' op attribute 'benefit' failed to satisfy constraint: 16-bit signless integer attribute whose value is non-negative (got -31) pdl.pattern @rewrite_with_args : benefit(-31) { ^ ``` This is primarily the mechanism and didn't change any existing constraints. I also attempted to keep the error format as close to the original as possible - but did notice 2 errors that were inconsistent with the rest and updated them to be consistent.
Diffstat (limited to 'clang/test/CodeGenHLSL/semantics/semantic.struct.hlsl')
0 files changed, 0 insertions, 0 deletions