Skip to content

Commit 741ed86

Browse files
committed
address comments
1 parent 8550a5c commit 741ed86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/NVPTX/NVPTXInstrInfo.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,8 +1689,8 @@ def cond_not_signed : PatLeaf<(cond), [{
16891689
return !isSignedIntSetCC(N->get());
16901690
}]>;
16911691

1692-
// comparisons of i8 extracted with BFE as i32
1693-
// It's faster to do comparison directly on i32 extracted by BFE,
1692+
// comparisons of i8 extracted with PRMT as i32
1693+
// It's faster to do comparison directly on i32 extracted by PRMT,
16941694
// instead of the long conversion and sign extending.
16951695
def: Pat<(setcc (i16 (sext_inreg (i16 (trunc (prmt i32:$a, 0, byte_extract_prmt:$sel_a, PrmtNONE))), i8)),
16961696
(i16 (sext_inreg (i16 (trunc (prmt i32:$b, 0, byte_extract_prmt:$sel_b, PrmtNONE))), i8)),

0 commit comments

Comments
 (0)