OSDN Git Service

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)
commit95604f98b90d55fb5f1605460393a7e466d4ac13
tree0310954c3795f5ef358486d5647a2b541e441e88
parent48cd2fd945d2d19a5f48a253bb9d1e3f63b32a3c
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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/CodeGen/AggressiveAntiDepBreaker.cpp
lib/CodeGen/CriticalAntiDepBreaker.cpp