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

            Bug ID: 52271
           Summary: Efficiently searching an array - ICC outperforms LLVM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedb...@nondot.org
          Reporter: david.bolvan...@gmail.com
                CC: llvm-bugs@lists.llvm.org

Blog:
https://julienjorge.medium.com/efficiently-searching-an-array-with-gcc-clang-and-icc-4234ef3cdba3


ICC is smarter here and uses SIMD instructions.

Maybe LoopIdiom should recognize "memchr" like pattern here?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to