Replace X86 FMA intrinsic pseduo-instructions with def pats.
authorLang Hames <lhames@gmail.com>
Fri, 31 Jan 2014 21:29:19 +0000 (21:29 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 31 Jan 2014 21:29:19 +0000 (21:29 +0000)
commitf96f832a3ca939aba0098b3343f2f48aab49f6d0
tree4bc2f3ab5d8a5afb281fa1701d901e6d30289f19
parent093b0413fe827b48306ef459af7690ba9df14a8e
Replace X86 FMA intrinsic pseduo-instructions with def pats.

It looks like these pseudos were only used for pattern matching. Def pats are
the appropriate way to do that. As a bonus, these intrinsics will now have
memory operands folded properly, and better FMA3 variants selected where
appropriate (see r199933).

<rdar://problem/15611947>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFMA.td
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/fma3-intrinsics.ll