diff options
author | Dale Johannesen <dalej@apple.com> | 2009-03-12 01:00:26 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-03-12 01:00:26 +0000 |
commit | b97afdbe9a7adeaf372ac4728c0d9518653c674a (patch) | |
tree | 97fed0ea1511f7c34a540c446b6da581f5df257c /lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | f94bcf6f7c2f9e6c438c550796d556a3eaed6579 (diff) | |
download | external_llvm-b97afdbe9a7adeaf372ac4728c0d9518653c674a.zip external_llvm-b97afdbe9a7adeaf372ac4728c0d9518653c674a.tar.gz external_llvm-b97afdbe9a7adeaf372ac4728c0d9518653c674a.tar.bz2 |
Fix some nondeterministic behavior when forwarding
from a switch table. Multiple table entries that
branch to the same place were being sorted by the
pointer value of the ConstantInt*; changed to sort
by the actual value of the ConstantInt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions