[LLVMbugs] [Bug 17912] New: LICM doesn't handle intrinsics

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 13 11:16:44 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17912

            Bug ID: 17912
           Summary: LICM doesn't handle intrinsics
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: babokin at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11534
  --> http://llvm.org/bugs/attachment.cgi?id=11534&action=edit
Reproducer

LICM doesn't handle intrinsics. Compiler should recognize most of intrinsics
and hoist them out of the loop if their arguments are loop invariants.

This seems to be the general problem, but I may be mistaken (and actually I
hope so!). The intrinsics that I've stuck with is @llvm.x86.sse41.blendvps().

I've attached short reproducer.

> opt -licm licm_intrinsics.ll | llvm-dis

-- 
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/20131113/8bb777d8/attachment.html>


More information about the llvm-bugs mailing list