[PATCH] D105088: [InstCombine] Fold IntToPtr/PtrToInt to bitcast
Krishna Kariya via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 9 06:40:34 PDT 2021
Krishnakariya added inline comments.
================
Comment at: llvm/lib/IR/Instructions.cpp:2798
+ if (DisableI2pP2iOpt)
+ CastResults[9][10] = 0;
// TODO: This logic could be encoded into the table above and handled in the
----------------
nikic wrote:
> It would be better to modify `case 7` below instead.
Thanks, I've updated the patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105088/new/
https://reviews.llvm.org/D105088
More information about the llvm-commits
mailing list