Go to file
Bob Wilson 63c931443d Move the special-case check from r240462 into ARM-specific code.
This fixes a serious bug in r240462: checking the BuiltinID for
ARM::BI_MoveToCoprocessor* in EmitBuiltinExpr() ignores the fact that
each target has an overlapping range of the BuiltinID values. That check
can trigger for builtins from other targets, leading to very bad
behavior.

Part of the reason I did not implement r240462 this way to begin with is
the special handling of the last argument for Neon builtins. In this
change, I have factored out the check to see which builtins have that
extra argument into a new HasExtraNeonArgument() function. There is still
some awkwardness in having to check for those builtins in two separate
places, i.e., once to see if the extra argument is present and once to
generate the appropriate IR, but this seems much cleaner than my previous
patch.

llvm-svn: 240522
2015-06-24 06:05:20 +00:00
clang Move the special-case check from r240462 into ARM-specific code. 2015-06-24 06:05:20 +00:00
clang-tools-extra [clang-tidy] Fix false positives in misc-macro-parentheses checker 2015-06-23 12:45:14 +00:00
compiler-rt Update SafeStack TODO in the safestack.cc 2015-06-23 22:26:48 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use a more accurate implementation for exp 2015-05-13 03:55:09 +00:00
libcxx Mark a couple of features as 'in progress' 2015-06-23 20:48:55 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Code cleanup: Reindent statements. 2015-05-30 14:00:39 +00:00
lld COFF: Initial implementation of Identical COMDAT Folding. 2015-06-24 04:36:52 +00:00
lldb Implement the "qSymbol" packet in order to be able to read queue information in debugserver and return the info in the stop reply packets. 2015-06-23 21:27:50 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm Hexagon: Avoid left shifting negative values (it's UB) 2015-06-24 06:00:53 +00:00
openmp Allow machine hierarchy expansion 2015-06-22 15:59:18 +00:00
polly Add support for srem instruction 2015-06-24 04:13:29 +00:00