add -bounds-checking-multiple-traps option to make one trap BB per check
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 31 May 2012 22:58:48 +0000 (22:58 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 31 May 2012 22:58:48 +0000 (22:58 +0000)
commit1cbf2be592c6f11321771f142adfe8a8e146e273
treea92703ef8057202c66e319558fdccf51aa52fda4
parent0463cce55da6fb534566a5e9e0696d63b5bce236
add -bounds-checking-multiple-traps option to make one trap BB per check
disabled by default for now; we can discusse the default value (& name) later

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157777 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/BoundsChecking.cpp
test/Transforms/BoundsChecking/many-trap.ll [new file with mode: 0644]