[PATCH] D74242: [CodeGenPrepare] Handle ExtractValueInst in dupRetToEnableTailCallOpts
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 7 11:03:40 PST 2020
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/X86/tailcall-extract.ll:28
+ %call1.i.sink = phi { i8*, i64 } [ %call1.i, %if.then.i ], [ %call2.i, %if.end.i ]
+ %0 = extractvalue { i8*, i64 } %call1.i.sink, 0
+ ret i8* %0
----------------
arsenm wrote:
> Use a named value
Also should test the case where the extracted value is also bit casted
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74242/new/
https://reviews.llvm.org/D74242
More information about the llvm-commits
mailing list