aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-03-16 10:36:00 +0100
committerNikita Popov <npopov@redhat.com>2022-03-16 10:39:28 +0100
commit20531b3a6b091b8dd2e3992aec11ac10581e91e2 (patch)
treea131588ee8476dc41ef45fe84d90bf34f6281581 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent09854f2af3b914b616f29cb640bede3a27cf7c4e (diff)
downloadllvm-20531b3a6b091b8dd2e3992aec11ac10581e91e2.zip
llvm-20531b3a6b091b8dd2e3992aec11ac10581e91e2.tar.gz
llvm-20531b3a6b091b8dd2e3992aec11ac10581e91e2.tar.bz2
[RelLookupTableConverter] Avoid querying TTI for declarations
This code queries TTI on a single function, which is considered to be representative. This is a bit odd, but probably fine in practice. However, I think we should at least avoid querying declarations, which e.g. will generally lack target attributes, and for which we don't seem to ever query TTI in other places.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions