The purpose of this change is to ensure that ImmLeaf predicates are evaluated
consistently between SelectionDAG and FastISel. This is necessary for an
upcoming change that will allow ImmLeaf predicates to take a zero extended
immediate.
The test case change is benign; the high bits of the value being loaded into
the register are masked off by a later instruction.