github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff ae36a7c2aa0626febb00b7bcf581a00ea0042d23 192d20b16e418b89a549e93406f782ac0a0fa093 --extensions cpp -- llvm/lib/Target/DirectX/DXILResourceAccess.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/Target/DirectX/DXILResourceAccess.cpp b/llvm/lib/Target/DirectX/DXILResourceAccess.cpp index b0074b58e4..5164fd3813 100644 --- a/llvm/lib/Target/DirectX/DXILResourceAccess.cpp +++ b/llvm/lib/Target/DirectX/DXILResourceAccess.cpp @@ -22,7 +22,7 @@ using namespace llvm; static Value *calculateGEPOffset(GetElementPtrInst *GEP, Value *PrevOffset, - dxil::ResourceTypeInfo &RTI) { + dxil::ResourceTypeInfo &RTI) { assert(!PrevOffset && "Non-constant GEP chains not handled yet"); const DataLayout &DL = GEP->getDataLayout(); @@ -191,8 +191,7 @@ static void createLoadIntrinsic(IntrinsicInst *II, LoadInst *LI, Value *Offset, llvm_unreachable("Unhandled case in switch"); } -static void -replaceAccess(IntrinsicInst *II, dxil::ResourceTypeInfo &RTI) { +static void replaceAccess(IntrinsicInst *II, dxil::ResourceTypeInfo &RTI) { // Process users keeping track of indexing accumulated from GEPs. struct AccessAndOffset { User *Access; `````````` </details> https://github.com/llvm/llvm-project/pull/121725 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits