Skip to content

Commit ec1e1a0

Browse files
committed
clang format
1 parent 45f5af0 commit ec1e1a0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3974,16 +3974,17 @@ bool NVPTXTargetLowering::getTgtMemIntrinsic(
39743974
}
39753975

39763976
case Intrinsic::nvvm_prefetch_tensormap: {
3977-
auto &DL = I.getDataLayout();
3977+
auto &DL = I.getDataLayout();
39783978
Info.opc = ISD::INTRINSIC_VOID;
3979-
Info.memVT = getPointerTy(DL);
3979+
Info.memVT = getPointerTy(DL);
39803980
Info.ptrVal = I.getArgOperand(0);
39813981
Info.offset = 0;
3982-
Info.flags = MachineMemOperand::MOLoad | MachineMemOperand::MODereferenceable;
3982+
Info.flags =
3983+
MachineMemOperand::MOLoad | MachineMemOperand::MODereferenceable;
39833984
Info.align.reset();
39843985
return true;
39853986
}
3986-
3987+
39873988
case Intrinsic::nvvm_ldu_global_i:
39883989
case Intrinsic::nvvm_ldu_global_f:
39893990
case Intrinsic::nvvm_ldu_global_p: {

llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ bool NVPTXTTIImpl::collectFlatAddressOperands(SmallVectorImpl<int> &OpIndexes,
565565
case Intrinsic::nvvm_isspacep_local:
566566
case Intrinsic::nvvm_isspacep_shared:
567567
case Intrinsic::nvvm_isspacep_shared_cluster:
568-
case Intrinsic::nvvm_prefetch_tensormap:{
568+
case Intrinsic::nvvm_prefetch_tensormap: {
569569
OpIndexes.push_back(0);
570570
return true;
571571
}

0 commit comments

Comments
 (0)