brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · e98807c Raw
18 lines · plain
1; RUN: opt < %s -passes=instcombine -S | FileCheck %s2 3; crc32 with 64-bit destination zeros high 32-bit.4; rdar://94670555 6define i64 @test() nounwind {7entry:8; CHECK: test9; CHECK: tail call i64 @llvm.x86.sse42.crc32.64.6410; CHECK-NOT: and11; CHECK: ret12  %0 = tail call i64 @llvm.x86.sse42.crc32.64.64(i64 0, i64 4) nounwind13  %1 = and i64 %0, 429496729514  ret i64 %115}16 17declare i64 @llvm.x86.sse42.crc32.64.64(i64, i64) nounwind readnone18