This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][NFC] Remove isConstantAddr
ClosedPublic

Authored by liaolucy on Jun 16 2022, 5:58 AM.

Details

Summary

fix isConstantAddr defined but not used

Diff Detail

Event Timeline

liaolucy created this revision.Jun 16 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2022, 5:58 AM
liaolucy requested review of this revision.Jun 16 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2022, 5:58 AM

warning:

llvm-project/llvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp:339:6: warning: ‘bool {anonymous}::AMDGPUPerfHint::isConstantAddr(const llvm::Value*) const’ defined but not used [-Wunused-function]
  339 | bool AMDGPUPerfHint::isConstantAddr(const Value *V) const {
      |      ^~~~~~~~~~~~~~
rampitec accepted this revision.Jun 16 2022, 10:21 AM
This revision is now accepted and ready to land.Jun 16 2022, 10:21 AM
This revision was landed with ongoing or failed builds.Jun 16 2022, 5:49 PM
This revision was automatically updated to reflect the committed changes.