Skip to content

Commit adee6c8

Browse files
committed
[LoongArch] Inline one-time-used variable and format codes. NFC.
1 parent 3952377 commit adee6c8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,10 @@ LoongArchTargetLowering::lowerGlobalTLSAddress(SDValue Op,
489489
return Addr;
490490
}
491491

492-
SDValue LoongArchTargetLowering::lowerINTRINSIC_WO_CHAIN(SDValue Op,
493-
SelectionDAG &DAG) const {
494-
unsigned IntNo = Op.getConstantOperandVal(0);
495-
496-
switch (IntNo) {
492+
SDValue
493+
LoongArchTargetLowering::lowerINTRINSIC_WO_CHAIN(SDValue Op,
494+
SelectionDAG &DAG) const {
495+
switch (Op.getConstantOperandVal(0)) {
497496
default:
498497
return SDValue(); // Don't custom lower most intrinsics.
499498
case Intrinsic::thread_pointer: {

0 commit comments

Comments
 (0)