diff options
author | Tom Eccles <tom.eccles@arm.com> | 2023-04-25 12:24:46 +0000 |
---|---|---|
committer | Tom Eccles <tom.eccles@arm.com> | 2023-04-25 12:43:48 +0000 |
commit | 64ea60e8039e3f65707ee4179aeeb8915d0fb32d (patch) | |
tree | e4babd0f58ae5afeb6cec55d5354a222869ab354 /llvm/lib/MC/MCStreamer.cpp | |
parent | 5156d1a797be2c4a6af40fb33a574c3d379196ae (diff) | |
download | llvm-64ea60e8039e3f65707ee4179aeeb8915d0fb32d.zip llvm-64ea60e8039e3f65707ee4179aeeb8915d0fb32d.tar.gz llvm-64ea60e8039e3f65707ee4179aeeb8915d0fb32d.tar.bz2 |
[flang][hlfir] inline hlfir.transpose as hlfir.elemental
Inlining as a hlfir.elemental will allow the transpose to be inlined
into subsequent operations in some cases. For example,
y = TRANSPOSE(x)
z = y * 2
Will operate in a single loop without creating a temporary for the
TRANSPOSE (unlike the runtime call, which always allocates).
This is in a new SimplifyHLFIRIntriniscs pass. The intention is that some
day that pass might replace the FIR SimplifyIntrinsics pass.
Depends On: D149060
Reviewed By: jeanPerier, vzakhari
Differential Revision: https://reviews.llvm.org/D149067
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
0 files changed, 0 insertions, 0 deletions