diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-05-11 23:11:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-11 23:11:21 +0000 |
commit | a3bb6f2e5bb1f3cebf46cab29a7d17a1db863955 (patch) | |
tree | f074f62c751b67fbf648672b818d172dc9bd5755 | |
parent | e90fa18d6cae46801da1b607b322773b44fbffaf (diff) | |
download | bcm5719-llvm-a3bb6f2e5bb1f3cebf46cab29a7d17a1db863955.tar.gz bcm5719-llvm-a3bb6f2e5bb1f3cebf46cab29a7d17a1db863955.zip |
Tweak this non-default test so it still works w/ x86 feature support.
llvm-svn: 71494
-rw-r--r-- | clang/utils/builtin-defines.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/utils/builtin-defines.c b/clang/utils/builtin-defines.c index e8d3356277d..9bbe5be2502 100644 --- a/clang/utils/builtin-defines.c +++ b/clang/utils/builtin-defines.c @@ -17,7 +17,7 @@ RUN: else \ RUN: cc_prog=gcc; \ RUN: output=%t1; \ RUN: fi; \ -RUN: $cc_prog $arch $lang $opts -dM -E -x $input %s | sort > $output; \ +RUN: $cc_prog $arch $lang $opts -march=core2 -dM -E -x $input %s | sort > $output; \ RUN: done; \ RUN: if (! diff %t0 %t1); then exit 1; fi; \ RUN: done; \ @@ -37,6 +37,11 @@ RUN: done; #endif /* Undefine things we don't expect to match. */ +#undef __core2 +#undef __core2__ +#undef __SSSE3__ + +/* Undefine things we don't expect to match. */ #undef __DEC_EVAL_METHOD__ #undef __INT16_TYPE__ #undef __INT32_TYPE__ |