1 ; RUN: llc < %s -mtriple=x86_64-linux > %t
2 ; RUN: grep {movzbl %\[abcd\]h,} %t | count 8
3 ; RUN: grep {%\[abcd\]h} %t | not grep {%r\[\[:digit:\]\]*d}
5 ; LLVM creates virtual registers for values live across blocks
6 ; based on the type of the value. Make sure that the extracts
7 ; here use the GR64_NOREX register class for their result,
8 ; instead of plain GR64.
10 define i64 @foo(i64 %a, i64 %b, i64 %c, i64 %d,
11 i64 %e, i64 %f, i64 %g, i64 %h) {