Commit Graph

9 Commits

Author SHA1 Message Date
Gabor Buella be604857d3 [X86] NFC Include immintrin.h in CodeGen tests
Following r333110:
"Move all Intel defined intrinsic includes into immintrin.h"


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333160 91177308-0d34-0410-b5e6-96231b3b80d8
2018-05-24 07:09:08 +00:00
Elad Cohen 1574e4336f [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests
The X86 clang/test/CodeGen/*builtins.c tests define the mm_malloc.h include
guard as a hack for avoiding its inclusion (mm_malloc.h requires a hosted
environment since it expects stdlib.h to be available - which is not the case
in these internal clang codegen tests).
This patch removes this hack and instead passes -ffreestanding to clang cc1.

Differential Revision: https://reviews.llvm.org/D24825



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282581 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-28 11:59:09 +00:00
Eric Christopher f380392547 After PR28761 use -Wall with -Werror in builtins tests to identify
possible problems in headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277696 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-04 06:02:50 +00:00
Simon Pilgrim 8c6fe53645 [X86][SSE3] Sync with llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269921 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-18 13:17:39 +00:00
Simon Pilgrim fdef93f7bb Updated SSE3 builtin tests to more closely match the llvm fast-isel equivalent tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263117 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-10 14:46:49 +00:00
Simon Pilgrim 59c1037f68 Updated test names to match the intrinsics being tested
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254848 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-05 11:08:51 +00:00
Simon Pilgrim fafcf339e8 [X86] Stripped backend codegen tests
As discussed on the ml, backend tests need to be put in llvm/test/CodeGen/X86 as fast-isel tests using IR that is as close to what is generated here as possible.

The llvm tests will (re)added in a future commit

I will update PR24580 on this new plan

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254594 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-03 08:45:21 +00:00
Eric Christopher 8a4f5c0475 Canonicalize some of the x86 builtin tests and either remove or comment
about optimization options.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250271 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-14 05:40:21 +00:00
Simon Pilgrim e9fb248a4b [X86]][SSE3] Added SSE3 IR + assembly codegen builtin tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246945 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-06 14:45:13 +00:00