diff options
| author | Jay Foad <jay.foad@amd.com> | 2022-12-22 16:50:55 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@amd.com> | 2023-01-12 10:40:36 +0000 |
| commit | f460c6658107ba214edadcdac9aa0656c4c51505 (patch) | |
| tree | 6ab521270784423cdd089259204a94c09236ee66 /clang/lib/Frontend/InitPreprocessor.cpp | |
| parent | 71c837f6d7d74e44f156ac60a47b1198727ba90f (diff) | |
| download | llvm-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 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
