commit | cc5bd4a56140f8c7381afa686f28b361fd540436 | [log] [tgz] |
---|---|---|
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | Sat Feb 12 19:02:33 2011 +0000 |
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | Sat Feb 12 19:02:33 2011 +0000 |
tree | d2b2082f3661ba68e21b9dca6fc2845898985444 | |
parent | d02be24cadbba4754df2f3e83473b72c5de698dd [diff] [blame] |
Prevent IMPLICIT_DEF/KILL to become a delay filler instruction in SPARC backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125444 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Sparc/DelaySlotFiller.cpp b/lib/Target/Sparc/DelaySlotFiller.cpp index b0d669b..ee29275 100644 --- a/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -182,6 +182,9 @@ SmallSet<unsigned, 32> &RegUses) { + if (candidate->isImplicitDef() || candidate->isKill()) + return true; + if (candidate->getDesc().mayLoad()) { sawLoad = true; if (sawStore)