[all-commits] [llvm/llvm-project] fc6af7: [AMDGPU] Fix error handling in asm constraint syntax

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu Jan 13 09:34:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc6af7e188cc426b13d175266620e831c986798a
      https://github.com/llvm/llvm-project/commit/fc6af7e188cc426b13d175266620e831c986798a
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  [AMDGPU] Fix error handling in asm constraint syntax

I believe this is unexploitable because in either case the result
will be 'couldn't allocate register for constraint' error message,
but error code checking is clearly wrong.

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




More information about the All-commits mailing list