mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Use isa instead of dyn_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3dc34f682d
commit
67780f108c
@ -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…
Reference in New Issue
Block a user