diff options
| author | 2025-09-13 19:06:36 +0200 | |
|---|---|---|
| committer | 2025-09-13 19:10:19 +0200 | |
| commit | 9fb8b66bb742ecdace257f2bdd10c4c5cd7f7310 (patch) | |
| tree | d0c279136f76b3a0debc1f327bd94c6aec1be281 /test/regpressure.c | |
| parent | f91e875faf492c73e10cfb9e3183f676ba7d8d6c (diff) | |
regalloc: basic spilling support
Diffstat (limited to 'test/regpressure.c')
| -rw-r--r-- | test/regpressure.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regpressure.c b/test/regpressure.c new file mode 100644 index 0000000..e39853d --- /dev/null +++ b/test/regpressure.c @@ -0,0 +1,8 @@ +int foo(int a, int b, int c, int d, int e, int f, int g) { + void bar(void); + bar(); + if (a>0) + f-=10*(g&f); + bar(); + return a + b + c + d + e + f + g; +} |