[llvm-commits] Patch: Pattern matching for intrinsics

Michael Ilseman milseman at apple.com
Mon Dec 10 15:36:24 PST 2012


ping?

On Dec 7, 2012, at 1:40 PM, Michael Ilseman <milseman at apple.com> wrote:

> Below is a patch to add some pattern matching support for intrinsics to PatternMatch.h:
> 
> 
> Pattern matching code for intrinsics.
> 
> Provides m_Intrinsic pattern that can be templatized over the intrinsic id and bind/match operands similarly to other pattern matchers. Also provides example template specialization for bswap (m_BSwap) and example of code cleanup for its use. One motiviation for this is to ease upcoming peephole fast-math optimizations which may want to inspect into built-in intrinsics.
> 
> <0001-Pattern-matching-code-for-intrinsics.patch>




More information about the llvm-commits mailing list