Skip to content

Commit 80227ae

Browse files
committed
Add TODOs & test updates
1 parent 122d5ea commit 80227ae

File tree

2 files changed

+205
-223
lines changed

2 files changed

+205
-223
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6248,6 +6248,7 @@ def : Pat<(f64 (any_uint_to_fp (i64 (any_fp_to_uint f64:$Rn)))),
62486248
def : Pat<(f32 (any_uint_to_fp (i32 (any_fp_to_uint f32:$Rn)))),
62496249
(UCVTFv1i32 (i32 (FCVTZUv1i32 f32:$Rn)))>;
62506250

6251+
// TODO: Allow these in streaming[-compatible] functions with +sme2p2.
62516252
let Predicates = [HasNEON, HasFullFP16] in {
62526253
def : Pat<(f16 (any_sint_to_fp (i32 (any_fp_to_sint f16:$Rn)))),
62536254
(SCVTFv1i16 (f16 (FCVTZSv1f16 f16:$Rn)))>;
@@ -6271,6 +6272,7 @@ def : Pat<(f64 (uint_to_fp (i64 (vector_extract (v2i64 FPR128:$Rn), (i64 0))))),
62716272

62726273
// fp16: integer extraction from vector must be at least 32-bits to be legal.
62736274
// Actual extraction result is then an in-reg sign-extension of lower 16-bits.
6275+
// TODO: Allow these in streaming[-compatible] functions with +sme2p2.
62746276
let Predicates = [HasNEON, HasFullFP16] in {
62756277
def : Pat<(f16 (sint_to_fp (i32 (sext_inreg (i32 (vector_extract
62766278
(v8i16 FPR128:$Rn), (i64 0))), i16)))),

0 commit comments

Comments
 (0)