qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

fixarg.ssa (242B)


      1 # regression test for 3bec2c60
      2 
      3 export
      4 function w $test() {
      5 @start
      6 	%x1 =l alloc8 8
      7 	%x2 =l alloc8 8
      8 	%r =w cnel %x1, %x2  # both operands need fixing
      9 	ret %r
     10 }
     11 
     12 # >>> driver
     13 # extern int test();
     14 # int main() { return !(test() == 1); }
     15 # <<<