[all-commits] [llvm/llvm-project] 43fe9a: MatchTableRecord::emit - fix boolean operator prec...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Nov 2 14:04:35 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 43fe9afa4fe4474d691ff84ea893bc671e8254c2
      https://github.com/llvm/llvm-project/commit/43fe9afa4fe4474d691ff84ea893bc671e8254c2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

  Changed paths:
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  MatchTableRecord::emit - fix boolean operator precedence warnings from PVS Studio. NFCI.

Make it clear that (Flags & MTRF_????) should resolve to a boolean.


  Commit: 505c4dabe2fe8fc693c740de4611f58baa11b712
      https://github.com/llvm/llvm-project/commit/505c4dabe2fe8fc693c740de4611f58baa11b712
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h

  Log Message:
  -----------
  isImmPCRel/isImmSigned - both functions should return bool not unsigned. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/77a6b358b51f...505c4dabe2fe


More information about the All-commits mailing list