]> granicus.if.org Git - llvm/commit
[Local] Delete a redundant check. NFC
authorFangrui Song <maskray@google.com>
Sun, 10 Feb 2019 09:25:56 +0000 (09:25 +0000)
committerFangrui Song <maskray@google.com>
Sun, 10 Feb 2019 09:25:56 +0000 (09:25 +0000)
commit2f51464f160cdb2ec0dd9263c1646b5a428664e8
tree4b68319f5b5e91fa0338a2f76748919ee5e429e4
parent7966ea2610475a2ba220c4bbf9b680e8567f6851
[Local] Delete a redundant check. NFC

isInstructionTriviallyDead also performs the use_empty() check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353637 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp