]> granicus.if.org Git - llvm/commit
Fix signed overflow detected by ubsan
authorVitaly Buka <vitalybuka@google.com>
Tue, 17 Oct 2017 18:33:15 +0000 (18:33 +0000)
committerVitaly Buka <vitalybuka@google.com>
Tue, 17 Oct 2017 18:33:15 +0000 (18:33 +0000)
commita1dafe0b863f4439c10936628f1839a1da40ec02
treef2257bac1b71b6c5b222528d63ffa8fb6fd92d0c
parentf87901fc843913b341404116b7f2b139534da462
Fix signed overflow detected by ubsan

This overflow does not affect algorithm, so just suppress it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316018 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp