[all-commits] [llvm/llvm-project] e95fc2: [X86] getFMA3OpcodeToCommuteOperands - use unreach...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Feb 10 09:14:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e95fc20f0463a27288407a4b67a7d71084666134
      https://github.com/llvm/llvm-project/commit/e95fc20f0463a27288407a4b67a7d71084666134
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

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

  Log Message:
  -----------
  [X86] getFMA3OpcodeToCommuteOperands - use unreachable to detect fma3 format mismatch

Matches what we do in getThreeSrcCommuteCase.

Fixes static analyzer out of bounds array access warning.




More information about the All-commits mailing list