repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
target-builtin-error.c
blob
4e44b7208a963a5df6f6e795c3ece382262b9800
1
// RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -S -verify -o -
2
#define __MM_MALLOC_H
3
4
#include <x86intrin.h>
5
6
__m128
foo
(
__m128 a
,
__m128 b
) {
7
return
__builtin_ia32_addsubps
(
b
,
a
);
// expected-error {{'__builtin_ia32_addsubps' needs target feature sse3}}
8
}