[all-commits] [llvm/llvm-project] 8b3e1a: IR: Avoid duplication of SwitchInst::findCaseValue...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Nov 12 11:44:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b3e1adf2b4a69b6055dc4e07b4e97817208c904
      https://github.com/llvm/llvm-project/commit/8b3e1adf2b4a69b6055dc4e07b4e97817208c904
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h

  Log Message:
  -----------
  IR: Avoid duplication of SwitchInst::findCaseValue(), NFC

Change the non-const version of findCaseValue() to forward to the const
version.




More information about the All-commits mailing list