OSDN Git Service

replace 'break's with 'return 0' in visitCallInst code for objectsize, since there...
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 3 May 2012 16:06:07 +0000 (16:06 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 3 May 2012 16:06:07 +0000 (16:06 +0000)
commita199e01d8edd54f995dfd673e4fb6607fbeb09f9
treeeb92b2d9d70bdc04e50b217476cda559240c1745
parent28d95b0a04ced9a07ab8913d4b2211946394e2b2
replace 'break's with 'return 0' in visitCallInst code for objectsize, since there is no need to fallback to visitCallSite.
This gives a 0.9% in a test case

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156069 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp