Work around a layering violation from Target to CodeGen.

Technically this is still a layering violation but it's header-only which makes
it less harmful. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2012-11-16 17:32:33 +00:00
parent e0827d8880
commit 1358841e91

View File

@ -435,7 +435,7 @@ public:
SmallVectorImpl<MachineOperand> &Cond,
unsigned &TrueOp, unsigned &FalseOp,
bool &Optimizable) const {
assert(MI && MI->isSelect() && "MI must be a select instruction");
assert(MI && MI->getDesc().isSelect() && "MI must be a select instruction");
return true;
}