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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to