[llvm-commits] Patch: Pattern matching for intrinsics
Michael Ilseman
milseman at apple.com
Fri Dec 7 13:40:01 PST 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Pattern-matching-code-for-intrinsics.patch
Type: application/octet-stream
Size: 5294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121207/46409ec5/attachment.obj>
More information about the llvm-commits
mailing list