This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/67296] [HSA] ICE in register allocator (assignment of this argument in a ctor)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67296

--- Comment #1 from Michael Matz <matz at gcc dot gnu.org> ---
Author: matz
Date: Tue Aug 25 16:02:38 2015
New Revision: 227176

URL: https://gcc.gnu.org/viewcvs?rev=227176&root=gcc&view=rev
Log:
        PR target/67272
        PR target/67296
        * hsa.h (hsa_function_representation): Remove prologue member.
        * hsa-dump.c (dump_hsa_cfun): Iterator over all BBs.
        * hsa-gen.c (hsa_function_representation): Don't init prologue,
        start with zero bbs.
        (hsa_function_representation::get_shadow_reg): Use entry block,
        not prologue member.
        (hsa_init_data_for_cfun): Create hsa_bb for entry/exit blocks.
        (hsa_deinit_data_for_cfun): Deallocate also for entry/exit blocks.
        (gen_hsa_insns_for_kernel_call): Don't use UINT64_MAX, but
        the built-in max value of the type.
        (gen_function_def_parameters): Don't use prologue member, but
        the hsa bb for entry bb.
        (wrap_all_hsa_calls): Iterate over all BBs.
        * hsa-regalloc.c (naive_process_phi): Revert 2015-08-19 change.
        (naive_outof_ssa): Iterate over all BBs.
        (dump_hsa_cfun_regalloc): Ditto.
        (linear_scan_regalloc): Ditto.
        (regalloc): Ditto.

Modified:
    branches/hsa/gcc/ChangeLog.hsa
    branches/hsa/gcc/hsa-dump.c
    branches/hsa/gcc/hsa-gen.c
    branches/hsa/gcc/hsa-regalloc.c
    branches/hsa/gcc/hsa.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]