[all-commits] [llvm/llvm-project] 37cdac: [X86] LowerAVXExtend - fix dodgy self-comparison a...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 6 04:50:45 PST 2019


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] LowerAVXExtend - fix dodgy self-comparison assert.

PVS Studio noticed that we were asserting "VT.getVectorNumElements() == VT.getVectorNumElements()" instead of "VT.getVectorNumElements() == InVT.getVectorNumElements()".




More information about the All-commits mailing list