OSDN Git Service

add GetElementPtrInst::hasAllZeroIndices, a long-overdue helper method.
authorChris Lattner <sabre@nondot.org>
Sat, 14 Apr 2007 00:12:57 +0000 (00:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Apr 2007 00:12:57 +0000 (00:12 +0000)
commit6f771d435111cd943414ab570e9aec0c7a6c2954
tree4a331f0ec578b15450e28e2f0144047bf81280c5
parent0468ab302537912264f61066fe8b780e52c7f5ef
add GetElementPtrInst::hasAllZeroIndices, a long-overdue helper method.
Writing it twice in the same day was too much for me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35978 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instructions.h
lib/VMCore/Instructions.cpp