will a bad iol pump cause a rod knock and my oil light to come on my 97 cavalier on 1997 Chevrolet Cavalier

i was driving an the car starting t5o knock i pulled nover and put it in neutral and it shut off i got it started but it knocks all the time now. my iol light was coming on when i stoped at lights on stop signs but would go back out

2 answers
yes, it could
I assume you mean OIL light. If so time to look for another vehicle.