summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-as/llvm-as.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2018-06-25 15:40:31 +0000
committerWei Mi <wmi@google.com>2018-06-25 15:40:31 +0000
commite5551274354ade49423fb004943b412b8554944d (patch)
tree535547543860e66734d6e3d33041977ef540a2e4 /llvm/tools/llvm-as/llvm-as.cpp
parent96edb2e37e7614be21e52504c1246c96b6e5f65d (diff)
downloadbcm5719-llvm-e5551274354ade49423fb004943b412b8554944d.tar.gz
bcm5719-llvm-e5551274354ade49423fb004943b412b8554944d.zip
[SampleFDO] Add an option to turn on/off warning about samples unused.
If a function has sample to use, but cannot use them because of no debug information, currently a warning will be issued to inform the missing opportunity. This warning assumes the binary generating the profile and the binary using the profile are similar enough. It is not always the case. Sometimes even if the binaries are not quite similar, we may still get some benefit by using sampleFDO. In those cases, we may still want to apply sampleFDO but not want to see a lot of such warnings pop up. The patch adds an option for the warning. Differential Revision: https://reviews.llvm.org/D48510 llvm-svn: 335484
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud