[all-commits] [llvm/llvm-project] 81ac46: [InstCombine] Support vectors in icmp of GEP fold
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jan 2 06:30:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81ac46445b640ad48158ab84065858c873bc5b74
https://github.com/llvm/llvm-project/commit/81ac46445b640ad48158ab84065858c873bc5b74
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-01-02 (Mon, 02 Jan 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/opaque-ptr.ll
Log Message:
-----------
[InstCombine] Support vectors in icmp of GEP fold
EmitGEPOffset() supports vector GEPs nowadays, so we don't need
any further code changes.
compare_gep_with_base_vector1 shows a weakness in folding the
resulting comparison if an index splat has to be performed.
More information about the All-commits
mailing list