Enable more tests for simplified lowering after assuming signed for word32.
R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/461933002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23125 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
bf56be001e
commit
8741997982
@ -1011,17 +1011,13 @@ void CheckChangeInsertion(IrOpcode::Value expected, MachineType from,
|
|||||||
|
|
||||||
|
|
||||||
TEST(InsertBasicChanges) {
|
TEST(InsertBasicChanges) {
|
||||||
if (false) {
|
CheckChangeInsertion(IrOpcode::kChangeFloat64ToInt32, kRepFloat64,
|
||||||
// TODO(titzer): these changes need the output to have the right type.
|
kTypeInt32);
|
||||||
CheckChangeInsertion(IrOpcode::kChangeFloat64ToInt32, kRepFloat64,
|
CheckChangeInsertion(IrOpcode::kChangeFloat64ToUint32, kRepFloat64,
|
||||||
kTypeInt32);
|
kTypeUint32);
|
||||||
CheckChangeInsertion(IrOpcode::kChangeFloat64ToUint32, kRepFloat64,
|
CheckChangeInsertion(IrOpcode::kChangeTaggedToInt32, kRepTagged, kTypeInt32);
|
||||||
kTypeUint32);
|
CheckChangeInsertion(IrOpcode::kChangeTaggedToUint32, kRepTagged,
|
||||||
CheckChangeInsertion(IrOpcode::kChangeTaggedToInt32, kRepTagged,
|
kTypeUint32);
|
||||||
kTypeInt32);
|
|
||||||
CheckChangeInsertion(IrOpcode::kChangeTaggedToUint32, kRepTagged,
|
|
||||||
kTypeUint32);
|
|
||||||
}
|
|
||||||
|
|
||||||
CheckChangeInsertion(IrOpcode::kChangeFloat64ToTagged, kRepFloat64,
|
CheckChangeInsertion(IrOpcode::kChangeFloat64ToTagged, kRepFloat64,
|
||||||
kRepTagged);
|
kRepTagged);
|
||||||
|
Loading…
Reference in New Issue
Block a user