summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IntervalPartition.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-08 05:12:14 +0000
committerChris Lattner <sabre@nondot.org>2010-10-08 05:12:14 +0000
commit35e6ce479cf6553a30d73b90f36cee6539a47d91 (patch)
treef8978d48fe4a185c15156dcda88d2a56af7fffb2 /llvm/lib/Analysis/IntervalPartition.cpp
parent8ed76f87cfc60f8d499be77811dc2990d65a8cc4 (diff)
downloadbcm5719-llvm-35e6ce479cf6553a30d73b90f36cee6539a47d91.tar.gz
bcm5719-llvm-35e6ce479cf6553a30d73b90f36cee6539a47d91.zip
fix a subtle bug I introduced in my refactoring, where we stopped preferring
the i8 versions of instructions in some cases. In test6, we started generating: cmpq $0, -8(%rsp) ## encoding: [0x48,0x81,0x7c,0x24,0xf8,0x00,0x00,0x00,0x00] ## <MCInst #478 CMP64mi32 ## <MCOperand Reg:114> ## <MCOperand Imm:1> ## <MCOperand Reg:0> ## <MCOperand Imm:-8> ## <MCOperand Reg:0> ## <MCOperand Imm:0>> instead of: cmpq $0, -8(%rsp) ## encoding: [0x48,0x83,0x7c,0x24,0xf8,0x00] ## <MCInst #479 CMP64mi8 ## <MCOperand Reg:114> ## <MCOperand Imm:1> ## <MCOperand Reg:0> ## <MCOperand Imm:-8> ## <MCOperand Reg:0> ## <MCOperand Imm:0>> Fix this and add some comments. llvm-svn: 116053
Diffstat (limited to 'llvm/lib/Analysis/IntervalPartition.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud