[all-commits] [llvm/llvm-project] fa0971: GlobalISel: check type size before getZExtValue()i...

Tim Northover via All-commits all-commits at lists.llvm.org
Fri Apr 9 11:40:40 PDT 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: fa0971b87fb2c9d14d1bba2551e61f02f18f329b
      https://github.com/llvm/llvm-project/commit/fa0971b87fb2c9d14d1bba2551e61f02f18f329b
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/huge-switch.ll

  Log Message:
  -----------
  GlobalISel: check type size before getZExtValue()ing it.

Otherwise getZExtValue() asserts.

(cherry picked from commit c2b322fc19e829162ed4c7dcd04d9e9b2cd4e66c)




More information about the All-commits mailing list