[PATCH] D139911: [InstCombine][WIP] Explicitly disable simplifyIntToPtrRoundTripCast for vectors.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 00:19:55 PST 2022


nikic added a comment.

Can't we just use getTypeSizeInBits() on both sides? ptrtoint/inttoptr can't change number of vector elements anyway.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139911



More information about the llvm-commits mailing list