[PowerPC] Remove redundant COPY_TO_REGCLASS introduced by 8a58f21f5b

This commit is contained in:
Nemanja Ivanovic 2020-12-28 09:25:25 -06:00
parent c3b9d85bd4
commit e73f885c98
1 changed files with 4 additions and 4 deletions

View File

@ -2561,13 +2561,13 @@ let AddedComplexity = 400, Predicates = [IsISA3_1, IsLittleEndian] in {
def : Pat<(truncstorei16 (i32 (vector_extract v8i16:$src, 0)), xoaddr:$dst),
(STXVRHX (COPY_TO_REGCLASS v8i16:$src, VSRC), xoaddr:$dst)>;
def : Pat<(store (i32 (extractelt v4i32:$src, 0)), xoaddr:$dst),
(STXVRWX (COPY_TO_REGCLASS v4i32:$src, VSRC), xoaddr:$dst)>;
(STXVRWX $src, xoaddr:$dst)>;
def : Pat<(store (f32 (extractelt v4f32:$src, 0)), xoaddr:$dst),
(STXVRWX (COPY_TO_REGCLASS v4f32:$src, VSRC), xoaddr:$dst)>;
(STXVRWX $src, xoaddr:$dst)>;
def : Pat<(store (i64 (extractelt v2i64:$src, 0)), xoaddr:$dst),
(STXVRDX (COPY_TO_REGCLASS v2i64:$src, VSRC), xoaddr:$dst)>;
(STXVRDX $src, xoaddr:$dst)>;
def : Pat<(store (f64 (extractelt v2f64:$src, 0)), xoaddr:$dst),
(STXVRDX (COPY_TO_REGCLASS v2f64:$src, VSRC), xoaddr:$dst)>;
(STXVRDX $src, xoaddr:$dst)>;
}
class xxevalPattern <dag pattern, bits<8> imm> :