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

6 lines
131 B
LLVM

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