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

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Mon Sep 28 02:59:19 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e4b179bf821bfff8fad7f46423494ed1f62dac0
      https://github.com/llvm/llvm-project/commit/1e4b179bf821bfff8fad7f46423494ed1f62dac0
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2020-09-28 (Mon, 28 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

(cherry picked from commit c6c5629f2fb4ddabd376fbe7c218733283e91d09)




More information about the All-commits mailing list