[all-commits] [llvm/llvm-project] e7fb1c: [MergeICmps] Don't require GEP
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Feb 25 08:38:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7fb1c15cb85d748c1c4fdd5a2eb5613ec7bef1d
https://github.com/llvm/llvm-project/commit/e7fb1c15cb85d748c1c4fdd5a2eb5613ec7bef1d
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-02-25 (Fri, 25 Feb 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/MergeICmps.cpp
M llvm/test/Transforms/MergeICmps/X86/opaque-ptr.ll
Log Message:
-----------
[MergeICmps] Don't require GEP
With opaque pointers, the zero-offset load will generally not use
a GEP. Allow a direct load without GEP, which is treated the same
way as a zero-offset GEP.
More information about the All-commits
mailing list