10 Commits

Author SHA1 Message Date
Nikita Popov
1b36a9f0b7 [clang] Use clang_cc1 in test (NFC)
I believe this should avoid the requirement for an assertion-enabled
build.
2023-11-13 12:37:14 +01:00
Shoaib Meenai
bdd396f353 [Analysis] Make test require asserts
This is a hacky fix to get the bots green, because just reverting the
original commit causes more failures. This should be replaced with a
proper fix by the author.
2023-11-10 17:29:32 -08:00
Shoaib Meenai
c5dd1bbcc3 Revert "Revert "[IR] Mark lshr and ashr constant expressions as undesirable""
This reverts commit 8ee07a4be7f7d8654ecf25e7ce0a680975649544.

The revert is breaking AMDGPU backend tests (which I didn't have
enabled), and I don't want to risk breakages over the weekend, so just
revert for now.
2023-11-10 17:26:14 -08:00
Shoaib Meenai
55ac33235d Revert "Revert "[Clang] Generate test checks (NFC)""
This reverts commit 3bb7ecc5a515d2ddd2708257096e14e3fe3b839d.

The revert breaks AMDGPU backend tests (which I didn't have enabled
locally), and I don't want to risk more breakages before the weekend, so
just restore things as they were.
2023-11-10 17:24:39 -08:00
Shoaib Meenai
3bb7ecc5a5 Revert "[Clang] Generate test checks (NFC)"
This reverts commit cd7ba9f3d090afb5d3b15b0dcf379d15d1e11e33.

This is causing test failures on builds without assertions:

/data/users/smeenai/llvm-project/clang/test/Analysis/builtin_signbit.cpp:14:21: error: CHECK-BE32-NEXT: expected string not found in input
// CHECK-BE32-NEXT: entry:
                    ^

Bots are also failing, e.g. https://lab.llvm.org/buildbot/#/builders/67/builds/13266/steps/7/logs/stdio
2023-11-10 17:08:35 -08:00
Shoaib Meenai
8ee07a4be7 Revert "[IR] Mark lshr and ashr constant expressions as undesirable"
This reverts commit 82f68a992b9f89036042d57a5f6345cb2925b2c1.

cd7ba9f3d090afb5d3b15b0dcf379d15d1e11e33 needs to be reverted to fix
test failures on builds without assertions, and this one needs to be
reverted first for that.
2023-11-10 17:08:35 -08:00
Nikita Popov
82f68a992b [IR] Mark lshr and ashr constant expressions as undesirable
These will no longer be created by default during constant folding.
2023-11-10 16:29:13 +01:00
Nikita Popov
cd7ba9f3d0 [Clang] Generate test checks (NFC) 2023-11-10 16:27:37 +01:00
Qiu Chaofan
b797d5e6b2 [CMake] [Clang] Add option to specify PowerPC long double format
This method introduces new CMake variable
PPC_LINUX_DEFAULT_IEEELONGDOUBLE (false by default) to enable fp128 as
default long double format.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D118110
2022-01-27 00:50:53 +08:00
Petar Jovanovic
73d1044abe Fix __builtin_signbit for ppcf128 type
Function__builtin_signbit returns wrong value for type ppcf128 on big endian
machines. This patch fixes how value is generated in that case.

Patch by Aleksandar Beserminji.

Differential Revision: http://reviews.llvm.org/D14149

llvm-svn: 252307
2015-11-06 14:52:46 +00:00