From ba31f436728b2a675da35b0b5fce8a6759f1edf5 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 26 Aug 2016 18:50:08 +0100 Subject: [PATCH] reg_alloc: UseDefOpArgXmm: default value for argument desired_location should be any_xmm, not any_gpr --- src/backend_x64/reg_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend_x64/reg_alloc.h b/src/backend_x64/reg_alloc.h index b09001e1..faae4cf5 100644 --- a/src/backend_x64/reg_alloc.h +++ b/src/backend_x64/reg_alloc.h @@ -109,7 +109,7 @@ public: std::tie(op, host_loc) = UseDefOpArgHostLocReg(use_value, def_inst, desired_locations); return std::make_tuple(op, HostLocToReg64(host_loc)); } - std::tuple UseDefOpArgXmm(IR::Value use_value, IR::Inst* def_inst, HostLocList desired_locations = any_gpr) { + std::tuple UseDefOpArgXmm(IR::Value use_value, IR::Inst* def_inst, HostLocList desired_locations = any_xmm) { OpArg op; HostLoc host_loc; std::tie(op, host_loc) = UseDefOpArgHostLocReg(use_value, def_inst, desired_locations);