Do not fold a load into a comparison that is used by more than one place.
authorChris Lattner <sabre@nondot.org>
Mon, 17 Jan 2005 01:34:14 +0000 (01:34 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 17 Jan 2005 01:34:14 +0000 (01:34 +0000)
commitcb1aa8d772602a53970314a8ac6b88569a1f0e26
treea7d78d0a9fce0df6672d8d43e4d8bf67f15f19a6
parente3e0fb19e9bafd1327cfadbbd3f09502dc56b050
Do not fold a load into a comparison that is used by more than one place.
The comparison will probably be folded, so this is not ok to do.
This fixed 197.parser.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19624 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp