[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / Transforms / RewriteStatepointsForGC / X86 / intrinsic-attributes.ll
blobcc36ecaf3f5ae6821e0aaa2017f247d7b68026bf
1 ; RUN: opt < %s -S -rewrite-statepoints-for-gc | FileCheck %s
3 ; CHECK: Function Attrs: nounwind readnone
4 ; CHECK: declare i64 @llvm.x86.sse2.cvttsd2si64(<2 x double>)
5 declare i64 @llvm.x86.sse2.cvttsd2si64(<2 x double>)
7 define i64 @test(<2 x double> %arg) {
8   %ret = call i64 @llvm.x86.sse2.cvttsd2si64(<2 x double> %arg)
9   ret i64 %ret