He doesn't need to know what would happen to know that he should dodge the flaming sword shooting towards him, which he utterly failed to react to, unlike Luffy.
Don't know why this is such an issue for you, Luffy obviously faster and far, far, far more mobile than 70m Loki.