summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2013-05-29 21:13:57 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2013-05-29 21:13:57 +0000
commit00e08db393ba584b06d5d13d156c1f46780602f3 (patch)
tree73ba4eb71061e1e71a5209e3d1847b58e54ae737 /llvm/lib/Target/Sparc
parent970f30e2488c7afa91ded2babafbc73dac7f2c73 (diff)
downloadbcm5719-llvm-00e08db393ba584b06d5d13d156c1f46780602f3.tar.gz
bcm5719-llvm-00e08db393ba584b06d5d13d156c1f46780602f3.zip
X86: Fix Defs/Uses for insts that imp-def/imp-use both an A-register and EFLAGS.
This corrects a problem where x86 instructions that implicitly define/use both an A-register (RAX, EAX, ..) and EFLAGS were declared as only defining/using EFLAGS, because the outer "let Defs/Uses = [EFLAGS]" in the various multiclasses overrides the "let Defs/Uses = [areg]" in BinOpAI. The instructions deriving from BinOpAI were moved out of the "let Defs", and a BinOpAI_FF class was created, for instructions that implicitly define and use EFLAGS and the A-register (SBC, ADC). llvm-svn: 182883
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud