summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-02-12 10:53:02 +0000
committerTobias Grosser <tobias@grosser.es>2017-02-12 10:53:02 +0000
commit288c450cf697c90fbfc42258e37ead6ec8460465 (patch)
tree07b898f28cdb3d48896d2f16a70093d71ec66580 /llvm/lib/Target/AMDGPU
parent9fe37df27ccd4ebe26b4dee76ed3e43f1616bec7 (diff)
downloadbcm5719-llvm-288c450cf697c90fbfc42258e37ead6ec8460465.tar.gz
bcm5719-llvm-288c450cf697c90fbfc42258e37ead6ec8460465.zip
[ScopDetectDiagnostics] Do not format unnamed array names
Formatting unnamed array names is expensive in LLVM as the this requires deriving the numbered virtual instruction name (e.g., %12) for an llvm::Value, which is currently not implemented efficiently. As instruction numberes anyhow do not really carry a lot of information for the user, we just print 'unknown' instead. This change reduces the scop detection time from 24 to 19 seconds, for one of our large-scale inputs. This is a reduction by 21%. llvm-svn: 294894
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud