[PATCH] D111237: [TypePromotion] Promote PHI-nodes
Andre Vieira via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 11 03:48:23 PDT 2021
avieira added a comment.
I found that other than the motivation example I showed above coming up with C-level examples, especially for cases where I don't think transforming is a good idea is difficult. I'll see if I have better luck with IR tests.
================
Comment at: llvm/lib/CodeGen/TypePromotion.cpp:1085
const TargetLowering *TLI = SubtargetInfo->getTargetLowering();
const TargetTransformInfo &TII =
getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
----------------
dmgreen wrote:
> TII -> TTI
Ah sorry didn't add that change to the patch I posted upstream :(
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111237/new/
https://reviews.llvm.org/D111237
More information about the llvm-commits
mailing list