mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
[DAGCombiner] Use cast instead of an unchecked dyn_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6631,7 +6631,7 @@ SDValue DAGCombiner::visitMGATHER(SDNode *N) {
|
||||
if (Level >= AfterLegalizeTypes)
|
||||
return SDValue();
|
||||
|
||||
MaskedGatherSDNode *MGT = dyn_cast<MaskedGatherSDNode>(N);
|
||||
MaskedGatherSDNode *MGT = cast<MaskedGatherSDNode>(N);
|
||||
SDValue Mask = MGT->getMask();
|
||||
SDLoc DL(N);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user