[all-commits] [llvm/llvm-project] f460c6: [AMDGPU] Simplify getNumFlatOffsetBits. NFC.
Jay Foad via All-commits
all-commits at lists.llvm.org
Thu Jan 12 02:40:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f460c6658107ba214edadcdac9aa0656c4c51505
https://github.com/llvm/llvm-project/commit/f460c6658107ba214edadcdac9aa0656c4c51505
Author: Jay Foad <jay.foad at amd.com>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Log Message:
-----------
[AMDGPU] Simplify getNumFlatOffsetBits. NFC.
Previously we considered this field to be either N-bit unsigned or
N+1-bit signed, depending on the instruction. I think it's conceptually
simpler to say that the field is always N+1-bit signed, but some
instructions do not allow negative values.
Differential Revision: https://reviews.llvm.org/D140883
More information about the All-commits
mailing list