1 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-- -O0 | FileCheck %s -check-prefix=CHECK-X64
3 ; RUN: llc < %s -mtriple=x86_64-- -O2 | FileCheck %s -check-prefix=CHECK-X64
6 define void @shift1(i256 %x, i256 %a, i256* nocapture %r) nounwind readnone {
9 store i256 %0, i256* %r
14 define i256 @shift2(i256 %c) nounwind
16 %b = shl i256 1, %c ; %c must not be a constant
17 ; Special case when %c is 0:
18 ; CHECK-X64: testb [[REG:%(bpl|r[0-9]+b)]], {{%(bpl|r[0-9]+b)}}