OSDN Git Service

Fix sub-operand size mismatch in tocentry operands.
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 19 Mar 2013 19:50:30 +0000 (19:50 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 19 Mar 2013 19:50:30 +0000 (19:50 +0000)
commit880d82e3dbf8ae6c2babf5943d524bbe25015eba
treed40246c46e11f74b4d84c29229f5add04ed3457f
parent58ebc0407891c3752fdea6f4dde28940a75db6d2
Fix sub-operand size mismatch in tocentry operands.

The tocentry operand class refers to 64-bit values (it is only used in 64-bit,
where iPTR is a 64-bit type), but its sole suboperand is designated as 32-bit
type.  This causes a mismatch to be detected at compile-time with the TableGen
patch I'll check in shortly.

To fix this, this commit changes the suboperand to a 64-bit type as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td