[PATCH] D129098: [AArch64][GlobalISel] Add support for sret demotion.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 13:34:04 PDT 2022


aemerson added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-sret-demotion.ll:42
+  ; CHECK-NEXT:   RET_ReallyLR implicit $x0
+  %res = call [9 x i64] @callee_sret_demotion()
+  %val = extractvalue [9 x i64] %res, 4
----------------
paquette wrote:
> Does this have to be 9 x i64 or could it be smaller? Would be nice to have fewer generated lines if possible.
> 
It has to be `[9 x i64]` for it to be returned using sret.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129098/new/

https://reviews.llvm.org/D129098



More information about the llvm-commits mailing list