aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-05-12 10:30:05 -0700
committerPhilip Reames <listmail@philipreames.com>2023-05-12 10:33:29 -0700
commit13984608992246e42e66c019f09764650d60af63 (patch)
treec8e922609873abdf546e7beb04d4fde3e2bc34f5 /llvm/lib/Support/StringRef.cpp
parentd1aee9c0cbd8f9efc1938348a5bab8fa947c90d2 (diff)
downloadllvm-13984608992246e42e66c019f09764650d60af63.zip
llvm-13984608992246e42e66c019f09764650d60af63.tar.gz
llvm-13984608992246e42e66c019f09764650d60af63.tar.bz2
[RISCVGatherScatterLowering] Minor code cleanup [NFC]
Use a switch to avoid repeat tests on the opcode, and factor out some common code out of another switch. (Not all branches had both common bits, but the one which didn't left the values unchanged and their starting value is the respective operand - so storing it back is a nop.)
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions