diff options
author | Hal Finkel <hfinkel@anl.gov> | 2011-12-15 17:54:01 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2011-12-15 17:54:01 +0000 |
commit | 7f370b615515af6422eb0d5d08f1c4c5db95fbbc (patch) | |
tree | e0041b5aef835bf8d9e515d21595bc8ea1679dbd /lib/Target/PowerPC/PPCHazardRecognizers.h | |
parent | 7e56831a6804812b2295c5446a05f4ec457b6b3e (diff) | |
download | llvm-7f370b615515af6422eb0d5d08f1c4c5db95fbbc.tar.gz llvm-7f370b615515af6422eb0d5d08f1c4c5db95fbbc.tar.bz2 llvm-7f370b615515af6422eb0d5d08f1c4c5db95fbbc.tar.xz |
Ensure that the nop that should follow a bl call in PPC64 ELF actually does
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCHazardRecognizers.h')
-rw-r--r-- | lib/Target/PowerPC/PPCHazardRecognizers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCHazardRecognizers.h b/lib/Target/PowerPC/PPCHazardRecognizers.h index 279567eaa0..95d0d64972 100644 --- a/lib/Target/PowerPC/PPCHazardRecognizers.h +++ b/lib/Target/PowerPC/PPCHazardRecognizers.h @@ -49,6 +49,9 @@ class PPCHazardRecognizer970 : public ScheduleHazardRecognizer { // HasCTRSet - If the CTR register is set in this group, disallow BCTRL. bool HasCTRSet; + // Was the last instruction issued a BL8_ELF + bool LastWasBL8_ELF; + // StoredPtr - Keep track of the address of any store. If we see a load from // the same address (or one that aliases it), disallow the store. We can have // up to four stores in one dispatch group, hence we track up to 4. |