Skip to content

Commit 23b6457

Browse files
committed
git clang format
1 parent b140f4f commit 23b6457

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

llvm/include/llvm/CodeGen/TargetLowering.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -253,20 +253,20 @@ class TargetLoweringBase {
253253
/// support for these atomic instructions, and also have different options
254254
/// w.r.t. what they should expand to.
255255
enum class AtomicExpansionKind {
256-
None, // Don't expand the instruction.
257-
CastToInteger, // Cast the atomic instruction to another type, e.g. from
258-
// floating-point to integer type.
256+
None, // Don't expand the instruction.
257+
CastToInteger, // Cast the atomic instruction to another type, e.g. from
258+
// floating-point to integer type.
259259
LLSC, // Expand the instruction into loadlinked/storeconditional; used
260260
// by ARM/AArch64/PowerPC.
261261
LLOnly, // Expand the (load) instruction into just a load-linked, which has
262262
// greater atomic guarantees than a normal load.
263263
CmpXChg, // Expand the instruction into cmpxchg; used by at least X86.
264-
MaskedIntrinsic, // Use a target-specific intrinsic for the LL/SC loop.
265-
BitTestIntrinsic, // Use a target-specific intrinsic for special bit
266-
// operations; used by X86.
267-
CmpArithIntrinsic,// Use a target-specific intrinsic for special compare
268-
// operations; used by X86.
269-
Expand, // Generic expansion in terms of other atomic operations.
264+
MaskedIntrinsic, // Use a target-specific intrinsic for the LL/SC loop.
265+
BitTestIntrinsic, // Use a target-specific intrinsic for special bit
266+
// operations; used by X86.
267+
CmpArithIntrinsic, // Use a target-specific intrinsic for special compare
268+
// operations; used by X86.
269+
Expand, // Generic expansion in terms of other atomic operations.
270270

271271
// Rewrite to a non-atomic form for use in a known non-preemptible
272272
// environment.

llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM,
14751475
setMinimumJumpTableEntries(PPCMinimumJumpTableEntries);
14761476

14771477
setMinFunctionAlignment(Align(4));
1478-
if(Subtarget.hasPartwordAtomics())
1478+
if (Subtarget.hasPartwordAtomics())
14791479
setMinCmpXchgSizeInBits(8);
14801480
else
14811481
setMinCmpXchgSizeInBits(32);
@@ -12738,7 +12738,7 @@ Value *PPCTargetLowering::emitStoreConditional(IRBuilderBase &Builder,
1273812738
break;
1273912739
}
1274012740

12741-
if(SZ ==8 || SZ==16)
12741+
if (SZ == 8 || SZ == 16)
1274212742
Val = Builder.CreateZExt(Val, Builder.getIntNTy(32));;
1274312743

1274412744
Value *Call = Builder.CreateIntrinsic(IntID, {Addr, Val},

0 commit comments

Comments
 (0)