[all-commits] [llvm/llvm-project] c6c562: [CodeGen] Do not call `emitGlobalConstantLargeInt`...

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Fri Sep 25 22:59:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6c5629f2fb4ddabd376fbe7c218733283e91d09
      https://github.com/llvm/llvm-project/commit/c6c5629f2fb4ddabd376fbe7c218733283e91d09
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2020-09-26 (Sat, 26 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/Mips/emit-big-cst.ll

  Log Message:
  -----------
  [CodeGen] Do not call `emitGlobalConstantLargeInt` for constant requires 8 bytes to store

This is a fix for PR47630. The regression is caused by the D78011. After
this change the code starts to call the `emitGlobalConstantLargeInt` even
for constants which requires eight bytes to store.

Differential revision: https://reviews.llvm.org/D88261




More information about the All-commits mailing list