Fixing Rc=1 CR update to be 32-bit.

This commit is contained in:
Ben Vanik 2015-02-10 12:01:05 -08:00
parent 46a59270c4
commit daac4a2d50
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ void PPCHIRBuilder::StoreCRField(uint32_t n, uint32_t bit, Value* value) {
}
void PPCHIRBuilder::UpdateCR(uint32_t n, Value* lhs, bool is_signed) {
UpdateCR(n, lhs, LoadZero(lhs->type), is_signed);
UpdateCR(n, Truncate(lhs, INT32_TYPE), LoadZero(INT32_TYPE), is_signed);
}
void PPCHIRBuilder::UpdateCR(uint32_t n, Value* lhs, Value* rhs,