final step needed to resolve PR6627, which allows us to flatten the code down to
authorChris Lattner <sabre@nondot.org>
Thu, 28 Apr 2011 18:15:47 +0000 (18:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Apr 2011 18:15:47 +0000 (18:15 +0000)
commit0a9e3d613bbbd8c47f4edf6841f566fa22775932
treece37bda53452205e6f348395e81f1e9de97c4d6e
parentad3ba6a7de5eb24ea58ba0ec9dd1e41912f678a9
final step needed to resolve PR6627, which allows us to flatten the code down to
a nice and tidy:
  %x1 = load i32* %0, align 4
  %1 = icmp eq i32 %x1, 1179403647
  br i1 %1, label %if.then, label %if.end

instead of doing lots of loads and branches.  May the FreeBSD bootloader
long fit in its allocated space.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130416 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/rle.ll
test/Transforms/PhaseOrdering/basic.ll