[all-commits] [llvm/llvm-project] 6fc63a: [AMDGPULowerBufferFatPointers] Simplify and fix GE...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jun 12 00:51:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
https://github.com/llvm/llvm-project/commit/6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Simplify and fix GEP offset emission (#95115)
Use emitGEPOffset() to emit the GEP offset, which already has all the
necessary logic.
This also fixes the nuw flag incorrectly being set on the offset
calculation, while only nsw is implied by inbounds.
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