[llvm] AlignmentFromAssumptions should only track pointer operand users (PR #73370)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 12:39:22 PST 2023
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 95dcb8b49dd3bb0fcb9f020fe931632a0ddf4994 6e4189199b206e4423070830ba24811e7457d133 -- llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp b/llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
index 13e939521c..27422e7d8b 100644
--- a/llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
+++ b/llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
@@ -272,7 +272,6 @@ bool AlignmentFromAssumptionsPass::processAssumption(CallInst *ACall,
}
}
}
-
}
return true;
``````````
</details>
https://github.com/llvm/llvm-project/pull/73370
More information about the llvm-commits
mailing list