[llvm] [llubi] Experimental support for noalias (PR #195808)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 26 00:26:38 PDT 2026
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 origin/main HEAD --extensions cpp,h -- llvm/tools/llubi/lib/Context.cpp llvm/tools/llubi/lib/Context.h llvm/tools/llubi/lib/ExecutorBase.cpp llvm/tools/llubi/lib/ExecutorBase.h llvm/tools/llubi/lib/Interpreter.cpp llvm/tools/llubi/lib/Library.cpp llvm/tools/llubi/lib/Value.h llvm/tools/llubi/llubi.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llubi/lib/Value.h b/llvm/tools/llubi/lib/Value.h
index 739574e69..c5b6d5d65 100644
--- a/llvm/tools/llubi/lib/Value.h
+++ b/llvm/tools/llubi/lib/Value.h
@@ -146,7 +146,8 @@ struct Byte {
static_cast<uint8_t>(Value << Shift),
static_cast<uint8_t>(TagMask << Shift),
static_cast<uint8_t>(TagValue << Shift),
- static_cast<uint8_t>(NoAliasMask << Shift), NoAliasNode};
+ static_cast<uint8_t>(NoAliasMask << Shift),
+ NoAliasNode};
}
bool areHighBitsZExtd(uint8_t BitsFrom) const {
``````````
</details>
https://github.com/llvm/llvm-project/pull/195808
More information about the llvm-commits
mailing list