diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-03-31 23:09:14 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-03-31 23:09:14 +0300 |
| commit | 59148d666a78d671198d56caabe7fe4d7fb3fee1 (patch) | |
| tree | 4c54666dca7090fd8d4f898160afe080ed0f1fa6 /src/ssa.c | |
| parent | 1dcaa90d8b706118235bc74a0f2cbdcb836d29bb (diff) | |
| download | qbt-59148d666a78d671198d56caabe7fe4d7fb3fee1.tar.gz qbt-59148d666a78d671198d56caabe7fe4d7fb3fee1.zip | |
produce some very limited assembly output
+ Several subsystems missing critical features, but enough to do some
basic things like calling procedures, printing to screen and doing loops
Diffstat (limited to 'src/ssa.c')
| -rw-r--r-- | src/ssa.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ssa.c b/src/ssa.c new file mode 100644 index 0000000..a9d6e6c --- /dev/null +++ b/src/ssa.c @@ -0,0 +1,8 @@ +#include <qbt/ssa.h> + +void ssa(struct fn *f) +{ + /* do a depth-first traversal of blocks, mark locations within as either + * generated (i.e. we assign something to the register) or required + * (i.e. it must be taken as a block parameter) */ +} |
