isel6.ssa 808 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # make sure large consts are lowered
  2. # without an offset
  3. # i.e. not movq $9223372036854775807, 64(%rax)
  4. export function w $main() {
  5. @_0
  6. %_1 =w call $myfunc(l 1, l 2, l 3, l 4, l 5, l 6, l 7, l 8, l 9223372036854775807)
  7. ret 0
  8. }
  9. # >>> driver
  10. # #include <stdio.h>
  11. # #include <stdint.h>
  12. # #include <inttypes.h>
  13. # void myfunc(int64_t a, int64_t b, int64_t c, int64_t d, int64_t e, int64_t f, int64_t g, int64_t h, int64_t i) {
  14. # printf("%" PRId64 "\n", a);
  15. # printf("%" PRId64 "\n", b);
  16. # printf("%" PRId64 "\n", c);
  17. # printf("%" PRId64 "\n", d);
  18. # printf("%" PRId64 "\n", e);
  19. # printf("%" PRId64 "\n", f);
  20. # printf("%" PRId64 "\n", g);
  21. # printf("%" PRId64 "\n", h);
  22. # printf("%" PRId64 "\n", i);
  23. # }
  24. # <<<
  25. # >>> output
  26. # 1
  27. # 2
  28. # 3
  29. # 4
  30. # 5
  31. # 6
  32. # 7
  33. # 8
  34. # 9223372036854775807
  35. # <<<