[all-commits] [llvm/llvm-project] bef928: [llvm] Initialize and move UseUpRegs outside of `u...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Thu Mar 24 08:53:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bef928f8b2513208003a686d1af66a6924445567
      https://github.com/llvm/llvm-project/commit/bef928f8b2513208003a686d1af66a6924445567
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86Operand.h

  Log Message:
  -----------
  [llvm] Initialize and move UseUpRegs outside of `union` MemOp struct.

Asan complained about uninitialized bool

`invalid-bool-load`
llvm/lib/Target/X86/AsmParser/X86Operand.h:389:12: runtime error: load
of value 171, which is not a valid value for type 'bool'

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




More information about the All-commits mailing list