[all-commits] [llvm/llvm-project] 31c903: [SeparateConstOffsetFromGEP] Add additional inboun...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed May 15 19:59:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31c903890a905d203de3303eaaa63063754ffbca
https://github.com/llvm/llvm-project/commit/31c903890a905d203de3303eaaa63063754ffbca
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
Log Message:
-----------
[SeparateConstOffsetFromGEP] Add additional inbounds preservation tests (NFC)
Adding these for NVPTX because for AMDGPU the problematic -1 case
does not get reordered in the first place.
Commit: b4d1a606c7492d827aff6ff0c1c109adff1253b9
https://github.com/llvm/llvm-project/commit/b4d1a606c7492d827aff6ff0c1c109adff1253b9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
Log Message:
-----------
[SeparateConstOffsetFromGEP] Check correct index for non-negativity
We were checking the index of GEP twice, instead of checking both
GEP and PtrGEP.
Compare: https://github.com/llvm/llvm-project/compare/1dd0d3cf40f2...b4d1a606c749
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