diff options
author | AZero13 <gfunni234@gmail.com> | 2025-05-30 10:22:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 15:22:54 +0100 |
commit | e00366dcde294b420ae9decf5ac5d85463fd274f (patch) | |
tree | ae6d052d507ab8675a0258d17d97c2046052a073 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | f88a9a32d9957bd0cd1877676447c822741f495a (diff) | |
download | llvm-e00366dcde294b420ae9decf5ac5d85463fd274f.zip llvm-e00366dcde294b420ae9decf5ac5d85463fd274f.tar.gz llvm-e00366dcde294b420ae9decf5ac5d85463fd274f.tar.bz2 |
[AArch64] Check for negative numbers when adjusting icmps (#141151)
This relies on the fact that we can use tst and ands for comparisons as
by emitComparison.
Also has mitigations for when comparing with -1 and 1 to avoid
regressions.
Fixes: https://github.com/llvm/llvm-project/issues/141137
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions