[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / Transforms / PGOProfile / X86 / macho.ll
blob1dcfbbe44ecb2d73b87ba8a3493bfa64d4254ddb
1 ; RUN: opt < %s -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE
3 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-apple-macosx10.11.0"
6 ; MACHO-DIRECTIVE: .weak_definition        ___llvm_profile_raw_version
7 define i32 @test_macho(i32 %i) {
8 entry:
9   ret i32 %i