[llvm-bugs] [Bug 47672] New: No vectorization of constraint fptoui

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 28 15:13:38 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47672

            Bug ID: 47672
           Summary: No vectorization of constraint fptoui
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: thomas.preudhomme at celest.fr
                CC: llvm-bugs at lists.llvm.org

Created attachment 24002
  --> https://bugs.llvm.org/attachment.cgi?id=24002&action=edit
Testcase for vectorization of fptoui

Hi,

Vectorization of constrainted fptoui does not happen with this testcase even
though it would not generate more exceptions. The output when running opt -O2
-S -mtriple aarch64 -mattr=+neon testcase.ll | llc is as follows:

conv_v2f32_to_v2i32:
        ldr     d0, [x0]
        fcvtzu  v0.2s, v0.2s
        str     d0, [x1]
        ret


strict_conv_v2f32_to_v2i32:
        ldp     s0, s1, [x0]
        fcvtzu  w8, s0
        fcvtzu  w9, s1
        stp     w8, w9, [x1]
        ret


Why does the function strict_conv_v2f32_to_v2i32 not generate the same output
as conv_v2f32_to_v2i32?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200928/312278d2/attachment.html>


More information about the llvm-bugs mailing list