Skip to content

Commit 635c2ba

Browse files
committed
fixup: clang-format
1 parent 685b9c3 commit 635c2ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Target/DirectX/DXILResourceAccess.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
using namespace llvm;
2323

2424
static Value *calculateGEPOffset(GetElementPtrInst *GEP, Value *PrevOffset,
25-
dxil::ResourceTypeInfo &RTI) {
25+
dxil::ResourceTypeInfo &RTI) {
2626
assert(!PrevOffset && "Non-constant GEP chains not handled yet");
2727

2828
const DataLayout &DL = GEP->getDataLayout();
@@ -191,8 +191,7 @@ static void createLoadIntrinsic(IntrinsicInst *II, LoadInst *LI, Value *Offset,
191191
llvm_unreachable("Unhandled case in switch");
192192
}
193193

194-
static void
195-
replaceAccess(IntrinsicInst *II, dxil::ResourceTypeInfo &RTI) {
194+
static void replaceAccess(IntrinsicInst *II, dxil::ResourceTypeInfo &RTI) {
196195
// Process users keeping track of indexing accumulated from GEPs.
197196
struct AccessAndOffset {
198197
User *Access;

0 commit comments

Comments
 (0)