aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2022-12-22 16:50:55 +0000
committerJay Foad <jay.foad@amd.com>2023-01-12 10:40:36 +0000
commitf460c6658107ba214edadcdac9aa0656c4c51505 (patch)
tree6ab521270784423cdd089259204a94c09236ee66 /llvm/lib/ToolDrivers/llvm-lib
parent71c837f6d7d74e44f156ac60a47b1198727ba90f (diff)
downloadllvm-f460c6658107ba214edadcdac9aa0656c4c51505.zip
llvm-f460c6658107ba214edadcdac9aa0656c4c51505.tar.gz
llvm-f460c6658107ba214edadcdac9aa0656c4c51505.tar.bz2
[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
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib')
0 files changed, 0 insertions, 0 deletions