[all-commits] [llvm/llvm-project] f623b3: [ConstantFold] Fix GEP of GEP fold with opaque poi...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jul 23 14:59:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f623b3a29aa9932fedf5b043b0f3b7535a19fdb7
https://github.com/llvm/llvm-project/commit/f623b3a29aa9932fedf5b043b0f3b7535a19fdb7
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-07-23 (Fri, 23 Jul 2021)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/force-opaque-ptrs.ll
Log Message:
-----------
[ConstantFold] Fix GEP of GEP fold with opaque pointers
This was previously combining indices even though they operate on
different types. For non-opaque pointers, the condition is
automatically satisfied based on the pointer types being equal.
More information about the All-commits
mailing list