brintos

brintos / llvm-project-archived public Read only

0
0
Text · 369 B · d4da64e Raw
13 lines · plain
1; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s2; CHECK:  movq  $-65535, %rax3 4; DAGCombiner should fold this to a simple constant.5 6define i64 @foo(i192 %a) nounwind {7  %t = or i192 %a, -223004049161637022030722548980409254428016658  %s = and i192 %t, -223004049161637022030722548980409297377689609  %u = lshr i192 %s, 12810  %v = trunc i192 %u to i6411  ret i64 %v12}13