brintos

brintos / llvm-project-archived public Read only

0
0
Text · 469 B · ff67990 Raw
23 lines · plain
1# RUN: not --crash llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that the Machine Verifier detects tied physical registers3# that doesn't match.4 5--- |6 7  define i32 @foo() {8  entry:9    ret i32 010  }11 12...13---14name:            foo15body: |16  bb.0.entry:17    liveins: $rdi18 19    ; CHECK: Tied physical registers must match.20    $rbx = AND64rm killed $rdx, killed $rdi, 1, _, 0, _, implicit-def dead $eflags21    RET64 $rbx22...23