aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorChen Zheng <czhengsz@cn.ibm.com>2023-01-05 07:53:59 +0000
committerChen Zheng <czhengsz@cn.ibm.com>2023-01-05 07:53:59 +0000
commit6a930e889145cbfb3ff1d99f67a5382c19bc1745 (patch)
tree810827740c42ff1fbfa7807b2826da022f575786 /llvm/lib
parentac93a4e77d1e60958b775ce5c68dd4b81d0e2050 (diff)
downloadllvm-6a930e889145cbfb3ff1d99f67a5382c19bc1745.zip
llvm-6a930e889145cbfb3ff1d99f67a5382c19bc1745.tar.gz
llvm-6a930e889145cbfb3ff1d99f67a5382c19bc1745.tar.bz2
1: use class instead of MVT
2: minor fix for the comments
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
index ff21294..1551f3f3 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
@@ -3327,9 +3327,9 @@ def : Pat<(i64 (sext i1:$in)),
// FIXME: We should choose either a zext or a sext based on other constants
// already around.
def : Pat<(i32 (anyext i1:$in)),
- (SELECT_I4 i1:$in, (LI 1), (LI 0))>;
+ (SELECT_I4 crbitrc:$in, (LI 1), (LI 0))>;
def : Pat<(i64 (anyext i1:$in)),
- (SELECT_I8 i1:$in, (LI8 1), (LI8 0))>;
+ (SELECT_I8 crbitrc:$in, (LI8 1), (LI8 0))>;
// match setcc on i1 variables.
// CRANDC is: