aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorKai Nacke <kai.peter.nacke@ibm.com>2022-09-19 16:03:32 +0000
committerKai Nacke <kai.peter.nacke@ibm.com>2022-09-20 20:55:02 +0000
commit34a809591bf97bd8832dbbabd7f0b7f7a3355783 (patch)
tree04df1f4b431dcbc993a544136e54d3f2310fdc52 /clang/lib/Serialization/ModuleManager.cpp
parentb9a371f6d1509c4a29c9131e433dd2cf275dc6f1 (diff)
downloadllvm-34a809591bf97bd8832dbbabd7f0b7f7a3355783.zip
llvm-34a809591bf97bd8832dbbabd7f0b7f7a3355783.tar.gz
llvm-34a809591bf97bd8832dbbabd7f0b7f7a3355783.tar.bz2
[GISel] TreeMatcher: always skip leaves if they don't care
In `GIMatchTreeOpcodePartitioner::applyForPartition()`, the loop over the possible leaves skip a leaf if the instruction does not care about the instruction. When processing the referenced operands in the next loop the same leaves need to be skipped. Later, when these leaves are added to all partitions, the bit vector must be resized first before the bit representing the leaf is set. This fixes a crash in llvm-tblgen. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D134192
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions