[PATCH] D105088: [InstCombine] Fold IntToPtr/PtrToInt to bitcast
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 9 06:24:03 PDT 2021
nikic 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
----------------
It would be better to modify `case 7` below instead.
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