[all-commits] [llvm/llvm-project] f9a616: [ProfileSummary] Refactor getFromMD to prepare for...

hjyamauchi via All-commits all-commits at lists.llvm.org
Wed May 20 09:45:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f9a6163f64726df458df522eb2ab4d140fe6ae2e
      https://github.com/llvm/llvm-project/commit/f9a6163f64726df458df522eb2ab4d140fe6ae2e
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-05-20 (Wed, 20 May 2020)

  Changed paths:
    M llvm/lib/IR/ProfileSummary.cpp

  Log Message:
  -----------
  [ProfileSummary] Refactor getFromMD to prepare for another optional field. NFC.

Summary:
Rename 'i' to 'I'.
Factor out the optional field handling to getOptionalVal().
Split out of D79951.

Reviewers: davidxl

Subscribers: eraman, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list