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 | 9dd3f62b387faa387d30f185b495165f1da9419f (patch) | |
tree | a46568029b3e946d529d2e0267097038cd68d9a0 /llvm/lib/Target/PowerPC/PPCHazardRecognizers.h | |
parent | 7fb33a3d40193113a9cc0e373c1d236626b2d1a1 (diff) | |
download | bcm5719-llvm-9dd3f62b387faa387d30f185b495165f1da9419f.tar.gz bcm5719-llvm-9dd3f62b387faa387d30f185b495165f1da9419f.zip |
Ensure that the nop that should follow a bl call in PPC64 ELF actually does
llvm-svn: 146664
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCHazardRecognizers.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCHazardRecognizers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCHazardRecognizers.h b/llvm/lib/Target/PowerPC/PPCHazardRecognizers.h index 279567eaa0a..95d0d649727 100644 --- a/llvm/lib/Target/PowerPC/PPCHazardRecognizers.h +++ b/llvm/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. |