The pattern isel is aggressively codegen'ing all of the loads in these
authorChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2005 03:05:03 +0000 (03:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2005 03:05:03 +0000 (03:05 +0000)
commit61b8c9bf94fdfb33c5bfd72458feaa77762aa72c
treebfac6f1fef163a90f03f17f7c87a8e59e62ffb08
parente9c44cdf18b1235841a5d8bfeb07bee9f5699b9a
The pattern isel is aggressively codegen'ing all of the loads in these
functions together at the start of the basic block, causing massive spillage.
The old isel codegened the loads wherever they happened to land, so it
generated good code for the first case, but bad code for the second.

We really want the pattern isel to generate (the same) good code for both.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19448 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/regpressure.ll [new file with mode: 0644]