aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
diff options
context:
space:
mode:
authorMin-Yih Hsu <min.hsu@sifive.com>2023-10-05 08:57:15 -0700
committerGitHub <noreply@github.com>2023-10-05 08:57:15 -0700
commitd36d8d67f5ad979dc88a8fdeceb2f6e764c7c7d9 (patch)
tree2a72673eb723a9710f30731a21a8bafd0bdd6c47 /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
parent4e9054d3914a7095e28a9ba4e26a80b10bcc6c3d (diff)
downloadllvm-d36d8d67f5ad979dc88a8fdeceb2f6e764c7c7d9.zip
llvm-d36d8d67f5ad979dc88a8fdeceb2f6e764c7c7d9.tar.gz
llvm-d36d8d67f5ad979dc88a8fdeceb2f6e764c7c7d9.tar.bz2
[TableGen][GISel] Fix incorrect binding of predicate operands upon `PredicateUsesOperands = 1` (#68125)
When `PredicateUsesOperands` is set to true, GlobalISelEmitter preserves the original index of predicate operands and uses that information on each predicate usage. However, previously it only looked up the original index for "actual" operands (i.e. operands of a predicate usage) that are leaf nodes, which is an incorrect assumption. This patch fix it by generalizing the acceptable kinds of actual operands for predicate as well as checking the existance of bound predicate operands.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions