[all-commits] [llvm/llvm-project] 3f0c9c: Fix ubsan error in tblgen with signed left shift

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Jun 16 11:15:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f0c9c1634237834af6b74e9319cb15f6ab89d11
      https://github.com/llvm/llvm-project/commit/3f0c9c1634237834af6b74e9319cb15f6ab89d11
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/Target/AMDGPU/SMInstructions.td

  Log Message:
  -----------
  Fix ubsan error in tblgen with signed left shift

UBSAN complains when tblgen performs SHL of a negative
value.

Differential Revision: https://reviews.llvm.org/D81952




More information about the All-commits mailing list