generator can know the top bits are zero, not undefined.
Thanks to Dan for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75899
91177308-0d34-0410-b5e6-
96231b3b80d8
// when we have a better way to specify isel priority.
let AddedComplexity = 1 in
def : Pat<(i64 0),
- (INSERT_SUBREG (i64 (IMPLICIT_DEF)), (MOV32r0), x86_subreg_32bit)>;
+ (SUBREG_TO_REG (i64 0), (MOV32r0), x86_subreg_32bit)>;
// Materialize i64 constant where top 32-bits are zero.