]> granicus.if.org Git - llvm/commit
IR: Simplify handleChangedOperand() fast path, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 19 Jan 2015 19:28:28 +0000 (19:28 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 19 Jan 2015 19:28:28 +0000 (19:28 +0000)
commite2644b68c16711e93cd2ae939ce7f8d11912df85
tree85aadba269f8e7c91a888a08527854bad38b530e
parent5cc26e0d4b53177a836341515dee164f53cc71a1
IR: Simplify handleChangedOperand() fast path, NFC

Use `isUniqued()` instead of `isStoredDistinctInContext()`, and remove
an assertion that won't be valid once temporaries are merged back in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226491 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Metadata.cpp