Question: Again consider the function foo below: 1 define dso _ local void @foo ( ) # 0 { 2 % 1 = alloca i 3

Again consider the function foo below:
1define dso_local void @foo() #0{
2%1= alloca i32, align 4 ; o1
3%2= alloca i8*, align 8 ; o2
4%3= alloca i8**, align 8 ; o3
5store i32100, i32*%1, align 4
6%4= bitcast i32*%1 to i8*
7store i8*%4, i8**%2, align 8
8%5= load i8, i8*%4, align 1
9store i8**%2, i8***%3, align 8
10ret void
11}
Which of the following is true?
Group of answer choices
Instruction 8 has a direct dependence on instruction 3 and an indirect dependence on instruction 2.
Instruction 8 has a direct dependence on instruction 6 and an indirect dependence on instruction 5.
Instruction 8 has a direct dependence on instruction 7 and an indirect dependence on instruction 5.
Instruction 8 has a direct dependence on instruction 6 and an indirect dependence on instruction 7.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!