Do not promote null values because it may be unsafe to do so.
commit9dbec98d8bceed9e28e58811be45ff5c8e91c000
authorDevang Patel <dpatel@apple.com>
Mon, 24 Sep 2007 20:02:42 +0000 (24 20:02 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 24 Sep 2007 20:02:42 +0000 (24 20:02 +0000)
tree2f0e73eb6e409f6b9ea41c76a1d3cc6615b6e5b7
parenta4178423ff52eae0c3e379c00a71718474e48a86
 Do not promote null values because it may be unsafe to do so.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42270 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/2007-09-24-PromoteNullValue.ll [new file with mode: 0644]