Tighten checks so we can see existing codegen
authorSanjay Patel <spatel@rotateright.com>
Mon, 7 Dec 2015 17:39:48 +0000 (17:39 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 7 Dec 2015 17:39:48 +0000 (17:39 +0000)
commitbd58adf18d5a517be128887b57b67bd3ea976456
treeef607fae7cf2b3c1f34d0a3fd84430619e9c195a
parent07b637e04d1e88688c2456da1bd02eef08682cf7
Tighten checks so we can see existing codegen

The 2-element vector case shows a surprising bug: we failed to
eliminate ops on undefs, so there are 4 fmax calls even though
there can only be 2 valid elements in the inputs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254920 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/fmaxnum.ll