[all-commits] [llvm/llvm-project] cc2dc0: Reapply [ConstantFold] Drop gep of gep fold entire...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jun 13 08:04:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc2dc0916ad6a00ebc9373a58854d77cf73af122
https://github.com/llvm/llvm-project/commit/cc2dc0916ad6a00ebc9373a58854d77cf73af122
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
Reapply [ConstantFold] Drop gep of gep fold entirely (#95126)
Reapplying without changes. The flang+openmp buildbot failure
should be addressed by https://github.com/llvm/llvm-project/pull/94541.
-----
This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.
We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list