[all-commits] [llvm/llvm-project] 5ef768: [AMDGPULowerBufferFatPointers] Expand const exprs ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jun 17 00:28:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5ef768d22bb33d9ab59a8ba9abe747bed9e068a2
https://github.com/llvm/llvm-project/commit/5ef768d22bb33d9ab59a8ba9abe747bed9e068a2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ReplaceConstant.h
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-constants.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Expand const exprs using fat pointers (#95558)
Expand all constant expressions that use fat pointers upfront, so that
the rewriting logic only has to deal with instructions and not the
constant expression variants as well.
My primary motivation is to remove the creation of illegal constant
expressions (mul and shl) from this pass, but this also cuts down quite
a bit on the amount of duplicate logic.
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