aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSean Silva <silvasean@google.com>2020-10-19 15:59:03 -0700
committerSean Silva <silvasean@google.com>2020-10-21 11:58:27 -0700
commit57b338c08a4942bda6e58c77870c657c53b6fb5b (patch)
treeb998d8e7ce936bc0c459798099fd945014185a48 /clang/lib/CodeGen/CodeGenModule.cpp
parentf0292ede9bbf8a24607c926b0439db20c203607a (diff)
downloadllvm-57b338c08a4942bda6e58c77870c657c53b6fb5b.zip
llvm-57b338c08a4942bda6e58c77870c657c53b6fb5b.tar.gz
llvm-57b338c08a4942bda6e58c77870c657c53b6fb5b.tar.bz2
[mlir][shape] Split out structural type conversions for shape dialect.
A "structural" type conversion is one where the underlying ops are completely agnostic to the actual types involved and simply need to update their types. An example of this is shape.assuming -- the shape.assuming op and the corresponding shape.assuming_yield op need to update their types accordingly to the TypeConverter, but otherwise don't care what type conversions are happening. Also, the previous conversion code would not correctly materialize conversions for the shape.assuming_yield op. This should have caused a verification failure, but shape.assuming's verifier wasn't calling RegionBranchOpInterface::verifyTypes (which for reasons can't be called automatically as part of the trait verification, and requires being called manually). This patch also adds that verification. Differential Revision: https://reviews.llvm.org/D89833
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions