summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-03-19 19:00:29 +0000
committerCraig Topper <craig.topper@intel.com>2018-03-19 19:00:29 +0000
commitafabf36505542776a2a2b4e70c91687b163b45aa (patch)
treeb3111c9186332dfd43d4874c5ba52253109ae5eb /llvm/test/CodeGen
parent591f44df54e109acff046c9b438df145be978fd3 (diff)
downloadbcm5719-llvm-afabf36505542776a2a2b4e70c91687b163b45aa.tar.gz
bcm5719-llvm-afabf36505542776a2a2b4e70c91687b163b45aa.zip
[X86] Correct regular expression in Zen scheduler model that was excluding JECXZ instruction.
The regex was looking for JECXZ_32 or JECXZ_64, but their is just one instruction called JECXZ. They used to exist as separate instructions, but were merged over 3 years ago. llvm-svn: 327880
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/schedule-x86_32.ll2
-rw-r--r--llvm/test/CodeGen/X86/schedule-x86_64.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/schedule-x86_32.ll b/llvm/test/CodeGen/X86/schedule-x86_32.ll
index 1179300df93..601b4234ad2 100644
--- a/llvm/test/CodeGen/X86/schedule-x86_32.ll
+++ b/llvm/test/CodeGen/X86/schedule-x86_32.ll
@@ -1348,7 +1348,7 @@ define void @test_jcxz_jecxz() optsize {
; ZNVER1-NEXT: #APP
; ZNVER1-NEXT: JXTGT:
; ZNVER1-NEXT: jcxz JXTGT # sched: [1:0.50]
-; ZNVER1-NEXT: jecxz JXTGT # sched: [1:0.25]
+; ZNVER1-NEXT: jecxz JXTGT # sched: [1:0.50]
; ZNVER1-NEXT: #NO_APP
; ZNVER1-NEXT: retl # sched: [1:0.50]
call void asm sideeffect "JXTGT: \0A\09 jcxz JXTGT \0A\09 jecxz JXTGT", ""()
diff --git a/llvm/test/CodeGen/X86/schedule-x86_64.ll b/llvm/test/CodeGen/X86/schedule-x86_64.ll
index 0ee3b332e42..01972522571 100644
--- a/llvm/test/CodeGen/X86/schedule-x86_64.ll
+++ b/llvm/test/CodeGen/X86/schedule-x86_64.ll
@@ -7279,7 +7279,7 @@ define void @test_jecxz_jrcxz() optsize {
; ZNVER1: # %bb.0:
; ZNVER1-NEXT: #APP
; ZNVER1-NEXT: JXTGT:
-; ZNVER1-NEXT: jecxz JXTGT # sched: [1:0.25]
+; ZNVER1-NEXT: jecxz JXTGT # sched: [1:0.50]
; ZNVER1-NEXT: jrcxz JXTGT # sched: [1:0.50]
; ZNVER1-NEXT: #NO_APP
; ZNVER1-NEXT: retq # sched: [1:0.50]
OpenPOWER on IntegriCloud