Fix data layout issue on Windows; Remove unused loads in SSA

This commit is contained in:
gingerBill
2019-02-10 20:51:19 +00:00
parent b74d828af7
commit e2d4667639
4 changed files with 276 additions and 87 deletions

View File

@@ -284,6 +284,7 @@ void ir_opt_build_referrers(irProcedure *proc) {
irValue *instr = b->instrs[j];
array_clear(&ops);
ir_opt_add_operands(&ops, &instr->Instr);
for_array(k, ops) {
irValue *op = ops[k];
if (op == nullptr) {