commit | 1ed2bc526691237ea7a6e2796b25c5eb46cde05e | [log] [tgz] |
---|---|---|
author | Michael Kruse <[email protected]> | Tue Jan 23 23:56:25 2018 |
committer | Michael Kruse <[email protected]> | Tue Jan 23 23:56:25 2018 |
tree | 75da7dd075807c019704ac2cad080db70c1bcac8 | |
parent | 03bb127569a515e2023ff406952c4d6fd8c8aaa1 [diff] |
[VirtualInst] Derive correct use kind of PHI operands. NFC. VirtualUse::create is only called for MemoryKind::Value, but its consistency nonetheless checked in verifyUses(). PHI uses are always inter-stmt dependencies, which was not considered by the constructor method. The virtual and non-virtual execution paths were the same, such that verifyUses did not encounter any inconsistencies. llvm-svn: 323283