[X86][MMX] Add MMX instructions to foldable tables
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 23 Feb 2015 15:23:22 +0000 (15:23 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 23 Feb 2015 15:23:22 +0000 (15:23 +0000)
commitf488e2ae69e9677ccffacf6ab5e5e2a31b64a7c9
tree40dd67cf4847622230e11a9318846aee7fc53acf
parent9e1c4c17d92d93d7bdc183d9f85a3a795e32e80a
[X86][MMX] Add MMX instructions to foldable tables

Teach the peephole optimizer to work with MMX instructions by adding
entries into the foldable tables. This covers folding opportunities not
handled during isel.

llvm-svn: 230226
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/test/CodeGen/X86/bitcast-mmx.ll
llvm/test/CodeGen/X86/vec_extract-mmx.ll