[PATCH] D38325: [AMDGPU] Set fast-math flags on functions given the options
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 29 15:28:53 PDT 2017
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:375
PassManagerBuilder::EP_EarlyAsPossible,
- [AMDGPUAA, LibCallSimplify](const PassManagerBuilder &,
- legacy::PassManagerBase &PM) {
+ [AMDGPUAA, LibCallSimplify, this](const PassManagerBuilder &,
+ legacy::PassManagerBase &PM) {
----------------
dfukalov wrote:
> It possible would be better to create temporary ref for `Options` member and capture it instead of whole `this` pointer
It is just a pointer, not the whole content under it.
https://reviews.llvm.org/D38325
More information about the llvm-commits
mailing list