[all-commits] [llvm/llvm-project] 567c02: [InstCombine] Remove inttoptr/ptrtoint handling fr...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Nov 8 02:14:19 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 567c02a80e828a7c6864b1497be1e06de9ec0462
https://github.com/llvm/llvm-project/commit/567c02a80e828a7c6864b1497be1e06de9ec0462
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-11-08 (Wed, 08 Nov 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/indexed-gep-compares.ll
Log Message:
-----------
[InstCombine] Remove inttoptr/ptrtoint handling from indexed compare fold
Looking through inttoptr / ptrtoint intermixed with GEPs is very
questionable from a provenance perspective. We also don't seem to
have any test coverage that shows this is useful (apart from one
test I added to guard against a crash).
More information about the All-commits
mailing list