mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 18:24:05 +00:00
Use isa instead of dyn_cast.
llvm-svn: 50181
This commit is contained in:
parent
afa475f207
commit
37f4dc9ab4
@ -3311,7 +3311,7 @@ void SelectionDAGLowering::visitCall(CallInst &I) {
|
||||
|
||||
|
||||
void SelectionDAGLowering::visitGetResult(GetResultInst &I) {
|
||||
if (UndefValue *UV = dyn_cast<UndefValue>(I.getOperand(0))) {
|
||||
if (isa<UndefValue>(I.getOperand(0))) {
|
||||
SDOperand Undef = DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType()));
|
||||
setValue(&I, Undef);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user