[llvm] 8be3181 - [PowerPC] Fix incorrect subreg typo from 0148bf53f0a0
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 03:01:24 PDT 2021
Author: Nemanja Ivanovic
Date: 2021-04-14T05:01:12-05:00
New Revision: 8be3181df6f13544d97c1e263a91aa376a760c99
URL: https://github.com/llvm/llvm-project/commit/8be3181df6f13544d97c1e263a91aa376a760c99
DIFF: https://github.com/llvm/llvm-project/commit/8be3181df6f13544d97c1e263a91aa376a760c99.diff
LOG: [PowerPC] Fix incorrect subreg typo from 0148bf53f0a0
Added:
Modified:
llvm/lib/Target/PowerPC/PPCInstrVSX.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/PowerPC/PPCInstrVSX.td b/llvm/lib/Target/PowerPC/PPCInstrVSX.td
index 8673d6a7bc6c..82b5e9af0c12 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrVSX.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrVSX.td
@@ -3195,7 +3195,7 @@ def : Pat<(f64 (PPCfcfid (f64 (PPCmtvsra (i32 (extractelt v4i32:$A, 3)))))),
def : Pat<(v2i64 (scalar_to_vector (i64 (sextloadi32 xoaddr:$src)))),
(v2i64 (SUBREG_TO_REG (i64 1), (LIWAX xoaddr:$src), sub_64))>;
def : Pat<(v2i64 (scalar_to_vector (i64 (zextloadi32 xoaddr:$src)))),
- (v2i64 (SUBREG_TO_REG (i64 1), (LIWZX xoaddr:$src), VSRC))>;
+ (v2i64 (SUBREG_TO_REG (i64 1), (LIWZX xoaddr:$src), sub_64))>;
def : Pat<(v4i32 (scalar_to_vector (i32 (load xoaddr:$src)))),
(v4i32 (XXSLDWIs (LIWZX xoaddr:$src), 1))>;
def : Pat<(v4f32 (scalar_to_vector (f32 (load xoaddr:$src)))),
More information about the llvm-commits
mailing list