Add all the assignment code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
58c6b1f81c
commit
cfe502c598
1277 changed files with 48709 additions and 1 deletions
9
hw3/llprograms/bitcast1.ll
Normal file
9
hw3/llprograms/bitcast1.ll
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
define i64 @main(i64 %argc, i8** %argv) {
|
||||
%1 = alloca i64
|
||||
store i64 3, i64* %1
|
||||
%2 = bitcast i64* %1 to [10 x i64]*
|
||||
%3 = bitcast [10 x i64]* %2 to i64*
|
||||
%4 = load i64, i64* %3
|
||||
ret i64 %4
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue