aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/A32
diff options
context:
space:
mode:
authorMerry <[email protected]>2023-01-31 15:10:51 +0000
committerMerry <[email protected]>2023-02-04 11:30:01 +0000
commitd796d8e93d3d9ef555bf0ae40b0d7728d319c553 (patch)
tree3679a73ed418fffa156e27fd06e06ca4cb1a1e77 /tests/A32
parent60030a76d77aafec41dc974b8dfe2e534541a814 (diff)
downloaddynarmic-d796d8e93d3d9ef555bf0ae40b0d7728d319c553.tar.gz
dynarmic-d796d8e93d3d9ef555bf0ae40b0d7728d319c553.zip
reg_alloc: Fix cast-qual issue
Diffstat (limited to 'tests/A32')
-rw-r--r--tests/A32/fuzz_thumb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/A32/fuzz_thumb.cpp b/tests/A32/fuzz_thumb.cpp
index 3733dbb3..f13c5ee0 100644
--- a/tests/A32/fuzz_thumb.cpp
+++ b/tests/A32/fuzz_thumb.cpp
@@ -176,6 +176,7 @@ static void RunInstance(size_t run_number, ThumbTestEnv& test_env, A32Unicorn<Th
while (num_insts < instructions_to_execute_count) {
A32::LocationDescriptor descriptor = {u32(num_insts * 4), cpsr, A32::FPSCR{}};
IR::Block ir_block = A32::Translate(descriptor, &test_env, {});
+ Optimization::NamingPass(ir_block);
Optimization::A32GetSetElimination(ir_block, {.convert_nz_to_nzc = true});
Optimization::DeadCodeElimination(ir_block);
Optimization::A32ConstantMemoryReads(ir_block, &test_env);