mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
[X86] Replace an impossible if condition with an assert.
llvm-svn: 326167
This commit is contained in:
parent
00368b6cf9
commit
3a5307a95d
@ -16903,8 +16903,7 @@ SDValue X86TargetLowering::LowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const {
|
||||
}
|
||||
|
||||
// Handle truncation of V256 to V128 using shuffles.
|
||||
if (!VT.is128BitVector() || !InVT.is256BitVector())
|
||||
return SDValue();
|
||||
assert(VT.is128BitVector() && InVT.is256BitVector() && "Unexpected types!");
|
||||
|
||||
assert(Subtarget.hasFp256() && "256-bit vector without AVX!");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user