Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/CodeGen/AArch64/aarch64-fix-cortex-a53-835769.ll
; REQUIRES: asserts | ; REQUIRES: asserts | ||||
; The regression tests need to test for order of emitted instructions, and | ; The regression tests need to test for order of emitted instructions, and | ||||
; therefore, the tests are a bit fragile/reliant on instruction scheduling. The | ; therefore, the tests are a bit fragile/reliant on instruction scheduling. The | ||||
; test cases have been minimized as much as possible, but still most of the test | ; test cases have been minimized as much as possible, but still most of the test | ||||
; cases could break if instruction scheduling heuristics for cortex-a53 change | ; cases could break if instruction scheduling heuristics for cortex-a53 change | ||||
; RUN: llc < %s -mcpu=cortex-a53 -aarch64-fix-cortex-a53-835769=1 -frame-pointer=non-leaf -stats 2>&1 \ | ; RUN: llc < %s -mcpu=cortex-a53 -mattr=+fix-cortex-a53-835769 -frame-pointer=non-leaf -stats 2>&1 \ | ||||
; RUN: | FileCheck %s | ; RUN: | FileCheck %s | ||||
; RUN: llc < %s -mcpu=cortex-a53 -aarch64-fix-cortex-a53-835769=0 -frame-pointer=non-leaf -stats 2>&1 \ | ; RUN: llc < %s -mcpu=cortex-a53 -mattr=-fix-cortex-a53-835769 -frame-pointer=non-leaf -stats 2>&1 \ | ||||
; RUN: | FileCheck %s --check-prefix CHECK-NOWORKAROUND | ; RUN: | FileCheck %s --check-prefix CHECK-NOWORKAROUND | ||||
; The following run lines are just to verify whether or not this pass runs by | ; The following run lines are just to verify whether or not this pass runs by | ||||
; default for given CPUs. Given the fragility of the tests, this is only run on | ; default for given CPUs. Given the fragility of the tests, this is only run on | ||||
; a test case where the scheduler has not freedom at all to reschedule the | ; a test case where the scheduler has not freedom at all to reschedule the | ||||
; instructions, so the potentially massively different scheduling heuristics | ; instructions, so the potentially massively different scheduling heuristics | ||||
; will not break the test case. | ; will not break the test case. | ||||
; RUN: llc < %s -mcpu=generic -frame-pointer=non-leaf | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED | ; RUN: llc < %s -mcpu=generic -frame-pointer=non-leaf | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED | ||||
; RUN: llc < %s -mcpu=cortex-a53 -frame-pointer=non-leaf | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED | ; RUN: llc < %s -mcpu=cortex-a53 -frame-pointer=non-leaf | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED | ||||
▲ Show 20 Lines • Show All 518 Lines • Show Last 20 Lines |