diff options
author | Erich Keane <ekeane@nvidia.com> | 2025-10-01 07:42:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 14:42:37 +0000 |
commit | 13ce5f249ed911971fe899e318d08765399d8ce1 (patch) | |
tree | 2a1c2da3bfcc95311eef8883ea16fe072a518246 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 50c8e5d730ac55454ef5c1f58fbc9096e946240c (diff) | |
download | llvm-13ce5f249ed911971fe899e318d08765399d8ce1.zip llvm-13ce5f249ed911971fe899e318d08765399d8ce1.tar.gz llvm-13ce5f249ed911971fe899e318d08765399d8ce1.tar.bz2 |
[OpenACC] Remove unnecessary uses of `getResult`, fix cast tests (#161526)
A previous review comment pointed out that operations with only a single
result implicitly convert to `mlir::Value`. This patch removes the
explicit use of `getResult` where it is unnecessary in OpenACC lowering.
However, there ARE a few cases where it is necessary where the
`mlir::ValueRange` implicit constructor from a single value is being
used, so those are untouched.
Additionally, while the previous patch was being committed (#161382), a
second patch (#161431) changed the format of cir.casts, so this patch
fixes the additional test lines for that as well.
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions