fix PR13577, an issue introduced by r161687
authorMichael Liao <michael.liao@intel.com>
Sat, 11 Aug 2012 23:47:06 +0000 (23:47 +0000)
committerMichael Liao <michael.liao@intel.com>
Sat, 11 Aug 2012 23:47:06 +0000 (23:47 +0000)
commit9eac20ac88b82d39aaac9838631f268f3ef69d2c
tree563c5e80b97c8b28c20ff2c1a90de82fd76f8600
parent235e2e6f0dc8b715ea5b5c005022f04778c6fcb3
fix PR13577, an issue introduced by r161687

- FCMOV only supports a subset of X86 conditions. Skip boolean
  simplification if X86 condition is not valid for FCMOV.
- add a minimal test case for PR13577.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161732 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/pr13577.ll [new file with mode: 0644]