1 # REQUIRES: exegesis-can-measure-latency, x86_64-linux
3 # TODO(boomanaiden154): This sometimes fails with a negative latency value.
6 # Check that we can use the middle-half repetition mode without crashing
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
11 # CHECK: - { key: latency, value: {{[0-9.]*}}, per_snippet_value: {{[0-9.]*}}