summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreISelLowering.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-26 15:43:34 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-26 15:43:34 +0000
commit5c07584f44a93d44a8224219e0e1131cd07dafb0 (patch)
tree42b192acf911d736036ea97bad6ac9a2af0761f8 /llvm/lib/Target/XCore/XCoreISelLowering.cpp
parente750212f8c1b0613fb019b627d96bca391eb72dc (diff)
downloadbcm5719-llvm-5c07584f44a93d44a8224219e0e1131cd07dafb0.tar.gz
bcm5719-llvm-5c07584f44a93d44a8224219e0e1131cd07dafb0.zip
Use a GDM to record the returned expression in the state when VisitReturnStmt.
Use this information to find the returned value and bind it to CallExpr in ProcessCallExit. And there is no need to remove dead bindings in ProcessCallExit, because a. it would clean up the return value bound to CallExpr b. we still would do it in the next ProcessStmt(), where we would not misclean up the return value. llvm-svn: 97225
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud