diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2023-12-01 10:39:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 10:39:01 +0000 |
commit | f7d91faa790630eca506a29faa560d6783edcbc0 (patch) | |
tree | 78573dfaa154d5b31df4c851da887d0937318ef4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1ee41b415398cde51c055a7b1a4d419350e7038f (diff) | |
download | llvm-f7d91faa790630eca506a29faa560d6783edcbc0.zip llvm-f7d91faa790630eca506a29faa560d6783edcbc0.tar.gz llvm-f7d91faa790630eca506a29faa560d6783edcbc0.tar.bz2 |
[mlir][ArmSME] Add option to only enable streaming mode/ZA if required (#73931)
This adds a `only-if-required-by-ops` flag to the `enable-arm-streaming`
pass. This flag defaults to `false` (which preserves the original
behaviour), however, if set to `true` the pass will only add the
selected ZA/streaming mode to functions that contain ops that implement
`ArmSMETileOpInterface`.
This simplifies enabling these modes, as we can now first try lowering
ops to ArmSME, then only if we succeed, add the relevant function
attributes.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions