[llvm-bugs] [Bug 48785] New: [PPC] half as fucntion argument causes invalid CTR loop on Power8

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 17 20:01:29 PST 2021


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

            Bug ID: 48785
           Summary: [PPC] half as fucntion argument causes invalid CTR
                    loop on Power8
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: v.churavy at gmail.com
                CC: llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com

Created attachment 24392
  --> https://bugs.llvm.org/attachment.cgi?id=24392&action=edit
Reduced test-case

It seems like `half` type arguments get normalized to `float` and then
legalized by the insertion of a call to `__gnu_f2h_ieee`. IIUC that call is not
allowed inside a CTR loop.

This is after https://reviews.llvm.org/D94828 and
https://reviews.llvm.org/rG0a19fc3088f5

-- 
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/20210118/9300b8cc/attachment.html>


More information about the llvm-bugs mailing list