[AMDGPU] Handle the idot8 pattern generated by FE.
authorFarhana Aleen <farhana.aleen@gmail.com>
Thu, 1 Nov 2018 22:48:19 +0000 (22:48 +0000)
committerFarhana Aleen <farhana.aleen@gmail.com>
Thu, 1 Nov 2018 22:48:19 +0000 (22:48 +0000)
commit5853762e5a6d02ef2e7279c418fbc94a6b1c7a21
tree1ed5e61d5f472c155f39900455567026c58b086e
parent73ed607180abb6b075e863422c0530471163b54e
[AMDGPU] Handle the idot8 pattern generated by FE.

Summary: Different variants of idot8 codegen dag patterns are not generated by llvm-tablegen due to a huge
         increase in the compile time. Support the pattern that clang FE generates after reordering the
         additions in integer-dot8 source language pattern.

Author: FarhanaAleen

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D53937

llvm-svn: 345902
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
llvm/test/CodeGen/AMDGPU/idot8.ll