We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 805e08e commit d688162Copy full SHA for d688162
llvm/test/CodeGen/X86/pr90688.ll
@@ -0,0 +1,15 @@
1
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
2
+; RUN: llc < %s -mtriple=x86_64-linux-gnu | FileCheck %s
3
+
4
+define i64 @off(i8 signext %a) {
5
+; CHECK-LABEL: off:
6
+; CHECK: # %bb.0: # %entry
7
+; CHECK-NEXT: movzbl %dil, %eax
8
+; CHECK-NEXT: leal 1024(,%rax,8), %eax
9
+; CHECK-NEXT: retq
10
+entry:
11
+ %add = xor i8 %a, -128
12
+ %conv2 = zext i8 %add to i64
13
+ %mul = shl nuw nsw i64 %conv2, 3
14
+ ret i64 %mul
15
+}
0 commit comments