OSDN Git Service

If a vector is empty, you're not allowed to access any
authorDuncan Sands <baldrick@free.fr>
Tue, 20 Jan 2009 09:05:19 +0000 (09:05 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 20 Jan 2009 09:05:19 +0000 (09:05 +0000)
commitf90fb345db46faf25240e066f41025e009b09768
treed870749871ddf5664479760be9714390827dcf11
parente08eb9ca1dc832e0c8b460459fe218622f231898
If a vector is empty, you're not allowed to access any
elements, even if it is only to take the address.  Test:
break-anti-dependencies.ll with ENABLE_EXPENSIVE_CHECKS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62576 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAGInstrs.h