Disable null pointer folding transforms for non-generic address spaces. This should...
authorChristopher Lamb <christopher.lamb@gmail.com>
Sat, 29 Dec 2007 07:56:53 +0000 (07:56 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Sat, 29 Dec 2007 07:56:53 +0000 (07:56 +0000)
commitb15147ea4cc6716924ced6eff65358a95c35bd16
tree54144f155522ef9c083d94c6749b4bc6505434b6
parentb253a8b382824586066a299e1279838f41117e3b
Disable null pointer folding transforms for non-generic address spaces. This should probably be a target-specific predicate based on address space. That way for targets where this isn't applicable the predicate can be optimized away.

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