[all-commits] [llvm/llvm-project] da5f45: [ConstantFolding] Preserve nowrap flags in gep of ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Jun 11 06:03:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: da5f45f5937d3cde4ff76aeeb208e72ee504baaf
https://github.com/llvm/llvm-project/commit/da5f45f5937d3cde4ff76aeeb208e72ee504baaf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[ConstantFolding] Preserve nowrap flags in gep of gep fold
A caveat here is that we can only preserve nusw if the offset
additions did not overflow.
Proofs: https://alive2.llvm.org/ce/z/u56z_u
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