commit | 11a3d7b7ddd10659b72ed248d878fa0d90ddcb45 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Nov 13 23:31:34 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Nov 13 23:31:34 2004 +0000 |
tree | 13efdca7029da87edb2aed4f54d00344df70c404 | |
parent | 32e7a80cdb915c762ff9634f5712b00b44feeb1e [diff] |
Argument promotion transforms functions to unconditionally load their argument pointers. This is only valid to do if the function already unconditionally loaded an argument or if the pointer passed in is known to be valid. Make sure to do the required checks. This fixed ArgumentPromotion/control-flow.ll and the Burg program. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17718 91177308-0d34-0410-b5e6-96231b3b80d8