commit | 3fe14bf15338866b21784a64b78e53b5801523c8 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Aug 04 23:23:56 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Aug 04 23:23:56 2009 +0000 |
tree | 494f028bf1bdbca46fd621ba0b5f30f6f3d081ff | |
parent | f363bc83260b68aecc377da0b383c369ffd99b1e [diff] |
Check for !isa<Constant> instead of isa<Instruction>. This matches what the comment says, and it avoids spurious BitCast instructions for Argument values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78121 91177308-0d34-0410-b5e6-96231b3b80d8