[llvm] [NFC][AMDGPU] clang-format `llvm/lib/Target/AMDGPU/SIISelLowering.cpp` (PR #112645)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 21:13:58 PDT 2024


================
@@ -10228,8 +10190,9 @@ SDValue SITargetLowering::handleByteShortBufferLoads(SelectionDAG &DAG,
     return DAG.getMergeValues({Value, Status, SDValue(Op.getNode(), 1)}, DL);
   }
 
-  unsigned Opc = (LoadVT.getScalarType() == MVT::i8) ?
-         AMDGPUISD::BUFFER_LOAD_UBYTE : AMDGPUISD::BUFFER_LOAD_USHORT;
+  unsigned Opc = (LoadVT.getScalarType() == MVT::i8)
----------------
arsenm wrote:

This can lose parentheses 

https://github.com/llvm/llvm-project/pull/112645


More information about the llvm-commits mailing list