[all-commits] [llvm/llvm-project] d3a520: Reapply [MergeICmps] Don't require GEP
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Mar 4 02:39:28 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3a52089eb3e9d8b41dd8ca08d3d532dee78c4e8
https://github.com/llvm/llvm-project/commit/d3a52089eb3e9d8b41dd8ca08d3d532dee78c4e8
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-03-04 (Fri, 04 Mar 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/MergeICmps.cpp
M llvm/test/Transforms/MergeICmps/X86/no-gep-other-work.ll
M llvm/test/Transforms/MergeICmps/X86/opaque-ptr.ll
Log Message:
-----------
Reapply [MergeICmps] Don't require GEP
Recommit without changes over 53abe3ff66a54117308352d379837c7d3229f8d6,
which addressed the cause of the reported crash.
-----
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