getPristineRegs is not accurately considering shrink wrapping puts
authorEric Christopher <echristo@gmail.com>
Thu, 30 Mar 2017 22:34:20 +0000 (22:34 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 30 Mar 2017 22:34:20 +0000 (22:34 +0000)
commitb9c56d123521ffaaa83a8760b7f927d6f32486f6
treed5e6643e1e4346a261c8036c10256d50fc130a40
parent79e5bc528d4666124ccb37a925ca62d80789e58b
getPristineRegs is not accurately considering shrink wrapping puts
registers not saved in certain blocks. Use explicit getCalleeSavedInfo
and isLiveIn instead.

This fixes pr32292.

Patch by Tim Shen!

llvm-svn: 299124
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp