diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-24 21:08:09 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-24 21:08:09 +0000 |
commit | f5dc1bcfe1ba92bde4922617b1e43605a9401327 (patch) | |
tree | 30c2a18bcb6feae1b7697e417df61385b72afd73 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e12365bc27a877e4764d1761e1359435da120394 (diff) | |
download | llvm-f5dc1bcfe1ba92bde4922617b1e43605a9401327.zip llvm-f5dc1bcfe1ba92bde4922617b1e43605a9401327.tar.gz llvm-f5dc1bcfe1ba92bde4922617b1e43605a9401327.tar.bz2 |
Stop inferring isVariadic from instruction patterns.
Instructions are now only marked as variadic if they use variable_ops in
their ins list.
A variadic SDNode is typically used for call nodes that have the call
arguments as operands.
A variadic MachineInstr can actually encode a variable number of
operands, for example ARM's stm/ldm instructions. A call instruction
does not have to be variadic. The call argument registers are added as
implicit operands.
This change remove the MCID::Variadic flags from most call and return
instructions, allowing us to better verify their operands.
llvm-svn: 162599
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions