diff options
author | Chia-hung Duan <chiahungduan@google.com> | 2021-07-20 15:26:23 +0800 |
---|---|---|
committer | Chia-hung Duan <chiahungduan@google.com> | 2021-07-20 15:43:09 +0800 |
commit | b4001ae8851f47406f8187b72b0253b21bf1da4c (patch) | |
tree | edd4ef1e6404f701829ebad2dc94a008ac5a8e57 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | b2e25572d2a7b65a018580097b50910b3049ab65 (diff) | |
download | llvm-b4001ae8851f47406f8187b72b0253b21bf1da4c.zip llvm-b4001ae8851f47406f8187b72b0253b21bf1da4c.tar.gz llvm-b4001ae8851f47406f8187b72b0253b21bf1da4c.tar.bz2 |
[mlir-tblgen] Fix failed matching when binds same operand of an op in different depth
For example, we will generate incorrect code for the pattern,
def : Pat<((FooOp (FooOp, $a, $b), $b)), (...)>;
We didn't allow $b to be bond twice with same operand of same op.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D105677
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions