Fix Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll, a serious code
authorChris Lattner <sabre@nondot.org>
Thu, 1 Feb 2007 22:30:07 +0000 (22:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Feb 2007 22:30:07 +0000 (22:30 +0000)
commitfd905caa77fc77bbc6414d98c03fb6ee8035694b
treed55577fe9cbb790c09cb4a6378de71a4e8c0a0fe
parent5c70a012c77d63e4d09c7540abba930a4aa03df8
Fix Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll, a serious code
pessimization where instcombine can sink a load (good for code size) that
prevents an alloca from being promoted by mem2reg (bad for everything).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33771 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp