mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 18:56:04 +00:00
Replace dyn_cast<> with cast<> since the cast is already guarded by the necessary check.
llvm-svn: 133874
This commit is contained in:
parent
5b68fc5126
commit
9a11e3e082
@ -2506,7 +2506,7 @@ bool MatchingStackOffset(SDValue Arg, unsigned Offset, ISD::ArgFlagsTy Flags,
|
||||
return false;
|
||||
FI = FINode->getIndex();
|
||||
} else if (Arg.getOpcode() == ISD::FrameIndex && Flags.isByVal()) {
|
||||
FrameIndexSDNode *FINode = dyn_cast<FrameIndexSDNode>(Arg);
|
||||
FrameIndexSDNode *FINode = cast<FrameIndexSDNode>(Arg);
|
||||
FI = FINode->getIndex();
|
||||
Bytes = Flags.getByValSize();
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user