OSDN Git Service

Be careful when looking through a vbit_convert. Optimizing this:
authorEvan Cheng <evan.cheng@apple.com>
Mon, 16 Oct 2006 22:49:37 +0000 (22:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 16 Oct 2006 22:49:37 +0000 (22:49 +0000)
commit5956922a2d22dc46523078e35de7dc648a1db172
tree0ddbffcdfa5319c3faa3ab9b3a902fbfc3f1042a
parenta605be69c3127a811793bcc0cbc65e9df79321ca
Be careful when looking through a vbit_convert. Optimizing this:
(vector_shuffle
  (vbitconvert (vbuildvector (copyfromreg v4f32), 1, v4f32), 4, f32),
  (undef, undef, undef, undef), (0, 0, 0, 0), 4, f32)
to the
  vbitconvert
is a very bad idea.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30989 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp