[llvm] 49b39c4 - [AMDGPU] Remove redundand RequiredAlignment assignment. NFCI.
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 02:04:03 PDT 2022
Author: Stanislav Mekhanoshin
Date: 2022-04-14T02:03:51-07:00
New Revision: 49b39c4f2e4b0dfac3eff10cfed309a13a243c59
URL: https://github.com/llvm/llvm-project/commit/49b39c4f2e4b0dfac3eff10cfed309a13a243c59
DIFF: https://github.com/llvm/llvm-project/commit/49b39c4f2e4b0dfac3eff10cfed309a13a243c59.diff
LOG: [AMDGPU] Remove redundand RequiredAlignment assignment. NFCI.
Differential Revision: https://reviews.llvm.org/D123699
Added:
Modified:
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 0c344df3f018a..27eda280089f1 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -1552,7 +1552,6 @@ bool SITargetLowering::allowsMisalignedMemoryAccessesImpl(
// 12 byte accessing via ds_read/write_b96 require 16-byte alignment on
// gfx8 and older.
- RequiredAlignment = Align(16);
if (Subtarget->hasUnalignedDSAccessEnabled()) {
// Naturally aligned access is fastest. However, also report it is Fast
More information about the llvm-commits
mailing list