aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-06-30 12:44:18 +0200
committerMatthias Springer <me@m-sp.org>2023-06-30 13:56:42 +0200
commitb23c8225e8f914d9b0fe987c443eb19fca05344e (patch)
tree034e46a78753587c3f58fb59475176365d36b66b /llvm/lib/Object/COFFObjectFile.cpp
parenteadfa2801b6cf9ecf35ec52741b224f17c2c1106 (diff)
downloadllvm-b23c8225e8f914d9b0fe987c443eb19fca05344e.zip
llvm-b23c8225e8f914d9b0fe987c443eb19fca05344e.tar.gz
llvm-b23c8225e8f914d9b0fe987c443eb19fca05344e.tar.bz2
[mlir][NFC] Clean up builder usage around constants/non-foldable ops
* Use `create` instead of `createOrFold` for constant ops. Constants cannot be folded any further. * Use `create` instead of `createOrFold` for ops that do not have a folder. * Use C++ op builders that take an `int` instead of creating a `ConstantIndexOp`. * Create `tensor::DimOp` instead of `linalg::createOrFoldDimOp` when it is certain that the operand is a tensor. Differential Revision: https://reviews.llvm.org/D154196
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions