Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | entry: | ||||
store i32 0, i32* %X | store i32 0, i32* %X | ||||
ret void | ret void | ||||
} | } | ||||
define i32 @test(i32* %X) { | define i32 @test(i32* %X) { | ||||
; | ; | ||||
; IS__TUNIT____: Function Attrs: nofree nosync nounwind readnone willreturn | ; IS__TUNIT____: Function Attrs: nofree nosync nounwind readnone willreturn | ||||
; IS__TUNIT____-LABEL: define {{[^@]+}}@test | ; IS__TUNIT____-LABEL: define {{[^@]+}}@test | ||||
; IS__TUNIT____-SAME: (i32* nocapture nofree readonly align 4 [[X:%.*]]) #[[ATTR0:[0-9]+]] { | ; IS__TUNIT____-SAME: (i32* nocapture nofree readonly [[X:%.*]]) #[[ATTR0:[0-9]+]] { | ||||
; IS__TUNIT____-NEXT: entry: | ; IS__TUNIT____-NEXT: entry: | ||||
; IS__TUNIT____-NEXT: [[S:%.*]] = alloca [[STRUCT_SS:%.*]], align 8 | ; IS__TUNIT____-NEXT: [[S:%.*]] = alloca [[STRUCT_SS:%.*]], align 8 | ||||
; IS__TUNIT____-NEXT: [[TMP1:%.*]] = getelementptr [[STRUCT_SS]], %struct.ss* [[S]], i32 0, i32 0 | ; IS__TUNIT____-NEXT: [[TMP1:%.*]] = getelementptr [[STRUCT_SS]], %struct.ss* [[S]], i32 0, i32 0 | ||||
; IS__TUNIT____-NEXT: store i32 1, i32* [[TMP1]], align 8 | ; IS__TUNIT____-NEXT: store i32 1, i32* [[TMP1]], align 8 | ||||
; IS__TUNIT____-NEXT: [[TMP4:%.*]] = getelementptr [[STRUCT_SS]], %struct.ss* [[S]], i32 0, i32 1 | ; IS__TUNIT____-NEXT: [[TMP4:%.*]] = getelementptr [[STRUCT_SS]], %struct.ss* [[S]], i32 0, i32 1 | ||||
; IS__TUNIT____-NEXT: ret i32 0 | ; IS__TUNIT____-NEXT: ret i32 0 | ||||
; | ; | ||||
; IS__CGSCC_OPM: Function Attrs: nofree norecurse nosync nounwind readnone willreturn | ; IS__CGSCC_OPM: Function Attrs: nofree norecurse nosync nounwind readnone willreturn | ||||
Show All 32 Lines |