Yingwei Zheng
8b40a09bf5
[Clang][CodeGen][UBSan] Remove redundant EmitCheckValue
calls. NFCI ( #135141 )
...
`EmitCheckValue` is called inside `EmitCheck`:
b122956390/clang/lib/CodeGen/CGExpr.cpp (L3739)
The outside calls are redundant because
`EmitCheckValue(EmitCheckValue(V))` always returns `EmitCheckValue(V)`.
Required by https://github.com/llvm/llvm-project/pull/135135 .
2025-04-12 15:35:45 +08:00
Nikita Popov
f098fb69f1
[Clang] Convert some tests to opaque pointers (NFC)
2023-02-17 14:26:07 +01:00
yronglin
6ed21fc515
Avoid __builtin_assume_aligned crash when the 1st arg is array type
...
Avoid __builtin_assume_aligned crash when the 1st arg is array type (or
string literal).
Fixes Issue #57169
Differential Revision: https://reviews.llvm.org/D133202
2022-09-07 12:46:20 -04:00
Vitaly Buka
9905dae5e1
Revert "[Clang][CodeGen] Avoid __builtin_assume_aligned crash when the 1st arg is array type"
...
Breakes windows bot.
This reverts commit 3ad2fe913ae08ca062105731ad2da2eae825c731.
2022-09-03 13:12:49 -07:00
yronglin
3ad2fe913a
[Clang][CodeGen] Avoid __builtin_assume_aligned crash when the 1st arg is array type
...
Avoid __builtin_assume_aligned crash when the 1st arg is array type(or string literal).
Open issue: https://github.com/llvm/llvm-project/issues/57169
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D133202
2022-09-03 23:26:01 +08:00