intel/fs: Lower 64-bit MOVs after lower_load_payload()
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 12 Dec 2019 21:25:33 +0000 (13:25 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sat, 14 Dec 2019 21:12:21 +0000 (21:12 +0000)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3070>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3070>

src/intel/compiler/brw_fs.cpp

index b19f8fab3a981db25b01be4af6ca11cb13259ae9..a01b01048c8dcbb201d9206b5b24da1bba0e4a9a 100644 (file)
@@ -7334,6 +7334,11 @@ fs_visitor::optimize()
 
    if (OPT(lower_load_payload)) {
       split_virtual_grfs();
+
+      /* Lower 64 bit MOVs generated by payload lowering. */
+      if (!devinfo->has_64bit_types)
+         OPT(opt_algebraic);
+
       OPT(register_coalesce);
       OPT(lower_simd_width);
       OPT(compute_to_mrf);