Improve Register Allocator (#154)

* before adding IRegSet stuff

* use bitsets for live analysis

* speed up

* add stack structures

* organize new better
This commit is contained in:
water111
2020-12-06 15:42:26 -05:00
committed by GitHub
parent 06918e1fea
commit d86964985a
19 changed files with 602 additions and 269 deletions
+8
View File
@@ -85,4 +85,12 @@ TEST_F(VariableTests, InlineAsm) {
TEST_F(VariableTests, StaticBitfieldField) {
runner.run_static_test(env, testCategory, "static-bitfield-field.gc", {"22\n"});
}
TEST_F(VariableTests, StackArrayAlignment) {
runner.run_static_test(env, testCategory, "stack-array-align.gc", {"3\n"});
}
TEST_F(VariableTests, StackStructureAlignment) {
runner.run_static_test(env, testCategory, "stack-structure-align.gc", {"1234\n"});
}