Fix a fairly serious pessimizaion that was preventing us from efficiently
authorChris Lattner <sabre@nondot.org>
Mon, 10 May 2004 15:15:55 +0000 (15:15 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 May 2004 15:15:55 +0000 (15:15 +0000)
commitc81e6bae88d0b23c5d23b0b0ebcfa05c8de71af9
treeba47abd9080164b574d23459d9370284d2f0a6ae
parent3699e05fb21d76dcce43462c7d9684342bf7b0ce
Fix a fairly serious pessimizaion that was preventing us from efficiently
compiling things like 'add long %X, 1'.  The problem is that we were switching
the order of the operands for longs even though we can't fold them yet.

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