diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-17 19:18:41 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-17 19:18:41 +0000 |
commit | a043b62870982ebe48b40b6cbc3b6a0319618fdd (patch) | |
tree | 0e231064777758e2f5324621dafa4ecb7161a7c7 /clang/lib/Lex/MacroArgs.cpp | |
parent | 213de04d752af5ca0cf95c7b3bbb544d543f16e7 (diff) | |
download | bcm5719-llvm-a043b62870982ebe48b40b6cbc3b6a0319618fdd.tar.gz bcm5719-llvm-a043b62870982ebe48b40b6cbc3b6a0319618fdd.zip |
Allow missing kill flags on an untied operand of a two-address instruction when
the operand uses the same register as a tied operand:
%r1 = add %r1, %r1
If add were a three-address instruction, kill flags would be required on at
least one of the uses. Since it is a two-address instruction, the tied use
operand must not have a kill flag.
This change makes the kill flag on the untied use operand optional.
llvm-svn: 122082
Diffstat (limited to 'clang/lib/Lex/MacroArgs.cpp')
0 files changed, 0 insertions, 0 deletions