Go to file
Daniel Sanders 60f1db0525 Recommit r232027 with PR22883 fixed: Add infrastructure for support of multiple memory constraints.
The operand flag word for ISD::INLINEASM nodes now contains a 15-bit
memory constraint ID when the operand kind is Kind_Mem. This constraint
ID is a numeric equivalent to the constraint code string and is converted
with a target specific hook in TargetLowering.

This patch maps all memory constraints to InlineAsm::Constraint_m so there
is no functional change at this point. It just proves that using these
previously unused bits in the encoding of the flag word doesn't break
anything.

The next patch will make each target preserve the current mapping of
everything to Constraint_m for itself while changing the target independent
implementation of the hook to return Constraint_Unknown appropriately. Each
target will then be adapted in separate patches to use appropriate
Constraint_* values.

PR22883 was caused the matching operands copying the whole of the operand flags
for the matched operand. This included the constraint id which needed to be
replaced with the operand number. This has been fixed with a conversion
function. Following on from this, matching operands also used the operand
number as the constraint id. This has been fixed by looking up the matched
operand and taking it from there. 

llvm-svn: 232165
2015-03-13 12:45:09 +00:00
clang [OPENMP] Additional sema analysis for 'omp atomic[ update]'. 2015-03-13 12:27:31 +00:00
clang-tools-extra Add clangBasic to libdeps according to r232051 since the interface of ASTMatchers was changed. 2015-03-13 03:47:43 +00:00
compiler-rt We want single precision here. 2015-03-13 00:18:28 +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 Fix bitselect for float/double types v2 2015-03-05 15:31:05 +00:00
libcxx Update copyright year to 2015. 2015-03-12 20:13:11 +00:00
libcxxabi Update copyright year to 2015. 2015-03-12 20:13:54 +00:00
lld LinkerScript: Add evaluation of the EXTERN command 2015-03-12 21:55:55 +00:00
lldb Fix expectation in TestDataFormatterSynth 2015-03-13 11:59:58 +00:00
llgo [llgo] update year in LICENSE.txt 2015-03-13 01:36:02 +00:00
llvm Recommit r232027 with PR22883 fixed: Add infrastructure for support of multiple memory constraints. 2015-03-13 12:45:09 +00:00
openmp fix for broken commit 231774 2015-03-10 10:14:57 +00:00
polly Add -polly-vectorizer=stripmine 2015-03-12 20:48:07 +00:00