aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorAmy Wang <kai.ting.wang@huawei.com>2024-11-13 16:27:46 -0500
committerGitHub <noreply@github.com>2024-11-13 16:27:46 -0500
commitd50fbe43c9887e776cdfe95deaf312fb9cecfeaf (patch)
treed549a76b46d5d6aac313219bedc3708254639627 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parent7a8fe0f83c4ba03d07aef9243596d67af74a3b87 (diff)
downloadllvm-d50fbe43c9887e776cdfe95deaf312fb9cecfeaf.zip
llvm-d50fbe43c9887e776cdfe95deaf312fb9cecfeaf.tar.gz
llvm-d50fbe43c9887e776cdfe95deaf312fb9cecfeaf.tar.bz2
[MLIR][Python] Python binding support for AffineIfOp (#108323)
Fix the AffineIfOp's default builder such that it takes in an IntegerSetAttr. AffineIfOp has skipDefaultBuilders=1 which effectively skips the creation of the default AffineIfOp::builder on the C++ side. (AffineIfOp has two custom OpBuilder defined in the extraClassDeclaration.) However, on the python side, _affine_ops_gen.py shows that the default builder is being created, but it does not accept IntegerSet and thus is useless. This fix at line 411 makes the default python AffineIfOp builder take in an IntegerSet input and does not impact the C++ side of things.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions