diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-07-16 02:56:29 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:28 -0400 |
commit | 395891e95c3e9a76b11157d5f0d8124becf03db9 (patch) | |
tree | 4d8bb78d472e8ee1632c6483a7a01b9d6a3fba51 /lisc/test | |
parent | d7548fa5d7c6ab4adaff87619e9801d0bdb07b55 (diff) | |
download | roux-395891e95c3e9a76b11157d5f0d8124becf03db9.tar.gz |
fix phi handling in liveness
Diffstat (limited to 'lisc/test')
-rw-r--r-- | lisc/test/live.ssa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lisc/test/live.ssa b/lisc/test/live.ssa new file mode 100644 index 0000000..2d5546d --- /dev/null +++ b/lisc/test/live.ssa @@ -0,0 +1,19 @@ +# this control flow graph is irreducible +# yet, we expecet the liveness analysis +# to work properly and make %x live in +# the block @left +# +# nothing should ever be live at the entry + +@start + %b = copy 0 + %x = copy 10 + jez 0, @left, @loop +@left + jmp @inloop +@loop + %x1 = add %x, 1 +@inloop + %b1 = add %b, 1 +@endloop + jmp @loop |