1# REQUIRES: exegesis-can-measure-latency, x86_64-linux 2 3# TODO(boomanaiden154): This sometimes fails with a negative latency value. 4# ALLOW_RETRIES: 2 5 6# Check that we can use the middle-half repetition mode without crashing 7 8# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr -repetition-mode=middle-half-duplicate | FileCheck %s 9# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr -repetition-mode=middle-half-loop | FileCheck %s 10 11# CHECK: - { key: latency, value: {{[0-9.]*}}, per_snippet_value: {{[0-9.]*}} 12