11 lines · plain
1; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s2; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s3; CHECK: leal -2({{%rdi,%rdi|%rcx,%rcx}})4 5define i32 @foo(i32 %x) nounwind readnone {6 %t0 = shl i32 %x, 17 %t1 = add i32 %t0, -28 ret i32 %t19}10 11