diff options
author | Luke Hutton <luke.hutton@arm.com> | 2025-03-14 19:45:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 12:45:01 -0700 |
commit | 955c02dc9c9c3458462a4de0436457a93ea1e9f5 (patch) | |
tree | 21fda3ae27248c5a66a9014dcc23f647f263e2c5 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7a7c33d4f021236b17751ccd1367c394be67bfc2 (diff) | |
download | llvm-955c02dc9c9c3458462a4de0436457a93ea1e9f5.zip llvm-955c02dc9c9c3458462a4de0436457a93ea1e9f5.tar.gz llvm-955c02dc9c9c3458462a4de0436457a93ea1e9f5.tar.bz2 |
[mlir][tosa] Check for compile time constants in the validation pass (#131123)
This commit adds a concept of the 'dynamic' extension in the Dialect and
checks that compile time constant (CTC) operands for each operator are
constant if the dynamic extension is not loaded.
Operands labeled as CTC in the specification that are of tosa.shape
(shape_t in the specification) type are not checked as they are always
expected to be constant. This requirement is checked elsewhere in the
dialect.
Signed-off-by: Luke Hutton <luke.hutton@arm.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions