[PlaceSafepoints] Cleanup InsertSafepointPoll function
authorPhilip Reames <listmail@philipreames.com>
Tue, 26 May 2015 21:03:23 +0000 (21:03 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 26 May 2015 21:03:23 +0000 (21:03 +0000)
commit38840245e446c9ac688cb3035d6891cfbdd4ef93
tree8a8362b66a7f0c4461741867cefd5f301cb00701
parent316b571007cdf4b377af568c5a7d5eb05b2b9171
[PlaceSafepoints] Cleanup InsertSafepointPoll function

While working on another change, I noticed that the naming in this function was mildly deceptive.  While fixing that, I took the oppurtunity to modernize some of the code.  NFC intended.

llvm-svn: 238252
llvm/include/llvm/IR/BasicBlock.h
llvm/include/llvm/IR/Instruction.h
llvm/lib/IR/BasicBlock.cpp
llvm/lib/IR/Instruction.cpp
llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp