[SimplifyLibCalls] fix crash with empty function name (PR43347)
authorSanjay Patel <spatel@rotateright.com>
Wed, 18 Sep 2019 14:33:40 +0000 (14:33 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 18 Sep 2019 14:33:40 +0000 (14:33 +0000)
commitd46bf63fbbad623d73ec8c6889f9e8efa802ce40
tree0935d753f19399d75b3d6477d86de9bf587ca18d
parent40fdacbf4c9ab40fe41b9c4cb2a2d45fc57d4d0e
[SimplifyLibCalls] fix crash with empty function name (PR43347)

...and improve some variable names while here.

https://bugs.llvm.org/show_bug.cgi?id=43347

llvm-svn: 372227
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/sqrt.ll