diff options
author | Oleksandr "Alex" Zinenko <zinenko@google.com> | 2024-03-27 02:58:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 02:58:06 +0100 |
commit | fa1b807befdc7b31b1c0e0ab625170924f7b4951 (patch) | |
tree | 6ceadf87dc2aa4f5659e4d385f415c18c44e1880 /llvm/lib/Object/COFFImportFile.cpp | |
parent | 10b07f2324aa990664c4141ffab534603af35c7a (diff) | |
download | llvm-fa1b807befdc7b31b1c0e0ab625170924f7b4951.zip llvm-fa1b807befdc7b31b1c0e0ab625170924f7b4951.tar.gz llvm-fa1b807befdc7b31b1c0e0ab625170924f7b4951.tar.bz2 |
[mlir] fix crash in transform.print verification (#86679)
Transform op trait verification calls `getEffects`, and since trait
verification runs before op verification, this call cannot assume the op
to be valid. However, the operand getters now return a `TypedValue` that
unconditionally casts the value to the expected type, leading to an
assertion failure. Use the untyped mechanism instead.
Fixes #84701.
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions