XCore target: change to Sched::Source
authorRobert Lytton <robert@xmos.com>
Mon, 9 Sep 2013 10:42:05 +0000 (10:42 +0000)
committerRobert Lytton <robert@xmos.com>
Mon, 9 Sep 2013 10:42:05 +0000 (10:42 +0000)
commit7c739380ee6e03cae74cc7280d974882778020b9
treed281944f71ee35e22e4bb8210e0c1653b2a746bc
parent5c28673c3b745176302267e523ba274ae6465034
XCore target: change to Sched::Source

This sidesteps a bug in PrescheduleNodesWithMultipleUses() which
does not check if callResources will be affected by the transformation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreISelLowering.cpp
test/CodeGen/XCore/shedulingPreference.ll [new file with mode: 0644]