To me, undefined behaviour analysis and typing analysis seem very similar: Both allow a compiler to infer things that can help improve performance … So why do you see the claims that both can help performance as “opposite”?
EDIT: More information here http://blog.llvm.org/2011/05/what-every-c-programmer-should-...