Skip to content

Commit

Permalink
[LoongArch] Inline one-time-used variable and format codes. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonglingqin committed Nov 2, 2022
1 parent 3952377 commit adee6c8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
Expand Up @@ -489,11 +489,10 @@ LoongArchTargetLowering::lowerGlobalTLSAddress(SDValue Op,
return Addr;
}

SDValue LoongArchTargetLowering::lowerINTRINSIC_WO_CHAIN(SDValue Op,
SelectionDAG &DAG) const {
unsigned IntNo = Op.getConstantOperandVal(0);

switch (IntNo) {
SDValue
LoongArchTargetLowering::lowerINTRINSIC_WO_CHAIN(SDValue Op,
SelectionDAG &DAG) const {
switch (Op.getConstantOperandVal(0)) {
default:
return SDValue(); // Don't custom lower most intrinsics.
case Intrinsic::thread_pointer: {
Expand Down

0 comments on commit adee6c8

Please sign in to comment.