Fix X86FastISel code for comparisons and conditional branches
authorDan Gohman <gohman@apple.com>
Fri, 5 Sep 2008 01:15:35 +0000 (01:15 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 5 Sep 2008 01:15:35 +0000 (01:15 +0000)
commitf52550b50ee2d076dfad077bbe81b11f1300ab03
treeaa75128a5faac178037d0cb5f3a16b14374340a8
parent087c8507e592bbbede1746f07bd44b28559e3684
Fix X86FastISel code for comparisons and conditional branches
to check the result of getRegForValue before using it, and
to check for illegal operand types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp