transform: remove duplicate if in gc transform

Этот коммит содержится в:
Damian Gryski 2022-11-17 10:56:42 -08:00 коммит произвёл Ron Evans
родитель 4d14d3cd54
коммит f0a271bd21

Просмотреть файл

@ -143,9 +143,6 @@ func MakeGCStackSlots(mod llvm.Module) bool {
for _, call := range calls {
ptr := call.Operand(0)
call.EraseFromParentAsInstruction()
if ptr.IsAInstruction().IsNil() {
continue
}
// Some trivial optimizations.
if ptr.IsAInstruction().IsNil() {