| ; That that we don't try to use z196 instructions on z10 for TMHH and TMHL. |
| ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 -O0 | FileCheck %s |
| ; Check the lowest useful TMHL value. |
| define void @f1(i64 %a) { |
| ; CHECK: tmhl {{%r[0-5]}}, 1 |
| %and = and i64 %a, 4294967296 |
| %cmp = icmp eq i64 %and, 0 |
| br i1 %cmp, label %exit, label %store |
| ; Check the lowest useful TMHH value. |
| define void @f2(i64 %a) { |
| ; CHECK: tmhh {{%r[0-5]}}, 1 |
| %and = and i64 %a, 281474976710656 |
| %cmp = icmp ne i64 %and, 0 |
| br i1 %cmp, label %exit, label %store |