diff options
author | Ingo Müller <ingomueller@google.com> | 2023-01-31 06:39:31 +0000 |
---|---|---|
committer | Ingo Müller <ingomueller@google.com> | 2023-02-07 13:40:54 +0000 |
commit | b716bf84eaba25e0f83d1778288f65a671e85f98 (patch) | |
tree | 43674560289ef7d4093397bc5140e34b4d76aa5d /clang/tools/include-mapping/cppreference_parser.py | |
parent | 3599cbd3f6db94e7358dcc901f41c7e357716c77 (diff) | |
download | llvm-b716bf84eaba25e0f83d1778288f65a671e85f98.zip llvm-b716bf84eaba25e0f83d1778288f65a671e85f98.tar.gz llvm-b716bf84eaba25e0f83d1778288f65a671e85f98.tar.bz2 |
[mlir][scf] Fix builder of WhileOp with region builder arguments.
The overload of WhileOp::build with arguments for builder functions for
the regions of the op was broken: It did not compute correctly the types
(and locations) of the region arguments, which lead to failed assertions
when the result types were different from the operand types.
Specifically, it used the result types (and operand locations) for *both*
regions, instead of the operand types (and locations) for the 'before'
region and the result types (and loecations) for the 'after' region.
Reviewed By: Mogball, mehdi_amini
Differential Revision: https://reviews.llvm.org/D142952
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions