OSDN Git Service

Add CMP32mr and friends to the load-unfolding table. Among
authorDan Gohman <gohman@apple.com>
Tue, 25 Mar 2008 16:53:19 +0000 (16:53 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 25 Mar 2008 16:53:19 +0000 (16:53 +0000)
commit27845362d96a90f52ea5c980d4b7b44a2e957b06
tree5482395f859cbff6894425bfccce369dbc35d35d
parent1d21395f4ce152e7bf14d9ba6ea23549de6badd4
Add CMP32mr and friends to the load-unfolding table. Among
other things, this allows the scheduler to unfold a load operand
in the 2008-01-08-SchedulerCrash.ll testcase, so it now successfully
clones the comparison to avoid a pushf+popf.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48777 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/2008-01-08-SchedulerCrash.ll