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
Michael Zuckerman
f20fd44fd3
[Clang][bmi][intrinsics] Adding _mm_tzcnt_64 _mm_tzcnt_32 intrinsics to clang.
...
Differential Revision: http://reviews.llvm.org/D21373
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273401 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-22 12:32:43 +00:00
Simon Pilgrim
06e4edb0ae
[X86][BMI] Improved bmi intrinsics checks
...
Ready for matching with llvm/test/CodeGen/X86/bmi-intrinsics-fast-isel.ll (to be added shortly)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272490 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-11 22:40:01 +00:00
Chad Rosier
0aad2c18f1
Revert "[Reassociate] Update test cases due to r222142."
...
This reverts commit r222144. Commit r222142 is being reverted due to
a spec2006/gcc execution-time regression.
Update mips-varargs test as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222397 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-19 23:20:35 +00:00
Chad Rosier
62fdfa8634
[Reassociate] Update test cases due to r222142.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222144 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-17 16:34:47 +00:00
Sanjay Patel
65a963d402
added Intel's BMI intrinsic variants
...
(fixes PR19431 - http://llvm.org/bugs/show_bug.cgi?id=19431 )
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209769 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-28 20:26:57 +00:00
Craig Topper
435d268289
Rename tzcnt intrinsics to match gcc.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159515 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02 06:52:51 +00:00
Craig Topper
19b4a714de
Change LZCNT and BMI tests to check IR instead of X86 assembly.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147267 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-25 15:20:31 +00:00
Craig Topper
0b269c1f36
Add the rest of the BMI intrinsics.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147265 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-25 07:27:12 +00:00
Craig Topper
5c75208a5b
Add intrinsics for lzcnt and tzcnt instructions.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147263 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-25 06:25:37 +00:00