llvm-project/llvm/test/CodeGen/X86/2008-07-11-SHLBy1.ll

6 lines
127 B
LLVM

; RUN: llc < %s -march=x86-64 -o - | not grep shr
define i128 @sl(i128 %x) {
%t = shl i128 %x, 1
ret i128 %t
}