[x86] prevent infinite looping from vselect commutation (PR41066)
authorSanjay Patel <spatel@rotateright.com>
Thu, 14 Mar 2019 15:32:34 +0000 (15:32 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 14 Mar 2019 15:32:34 +0000 (15:32 +0000)
commit5d1df114e8777d2cec59d26152c1adc3ddbcafcd
tree301a2aa35e4fc887445b939a4e7631ad2e4f397a
parent4b1a5099240d25d3a59ea4834e20bc7b56b62032
[x86] prevent infinite looping from vselect commutation (PR41066)

This is an immediate fix for:
https://bugs.llvm.org/show_bug.cgi?id=41066
...but as noted there and the code comments, we should do better
by stubbing this out sooner.

llvm-svn: 356158
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-vec-cmp.ll