mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
[X86] Unbreak the build.
X86ISelLowering.cpp:34130:5: error: return type 'llvm::SDValue' must match previous return type 'const llvm::SDValue' when lambda expression has unspecified explicit return type llvm-svn: 323557
This commit is contained in:
parent
4d3a387405
commit
56989f6f87
@ -34122,7 +34122,8 @@ static SDValue detectSSatPattern(SDValue In, EVT VT) {
|
||||
unsigned NumSrcBits = In.getScalarValueSizeInBits();
|
||||
assert(NumSrcBits > NumDstBits && "Unexpected types for truncate operation");
|
||||
|
||||
auto MatchMinMax = [](SDValue V, unsigned Opcode, const APInt &Limit) {
|
||||
auto MatchMinMax = [](SDValue V, unsigned Opcode,
|
||||
const APInt &Limit) -> SDValue {
|
||||
APInt C;
|
||||
if (V.getOpcode() == Opcode &&
|
||||
ISD::isConstantSplatVector(V.getOperand(1).getNode(), C) && C == Limit)
|
||||
|
Loading…
Reference in New Issue
Block a user