diff options
author | Yuanfang Chen <yuanfang.chen@sony.com> | 2020-05-31 19:51:15 -0700 |
---|---|---|
committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2020-06-09 10:08:40 -0700 |
commit | 9c2e770034d04a0966b84cac14a9e3fb3b0d4ab7 (patch) | |
tree | c2d1119586c55891d202dbbe844bfad0d9453dcd /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 675cefbf60270f59057972e33365a09590fb3694 (diff) | |
download | llvm-9c2e770034d04a0966b84cac14a9e3fb3b0d4ab7.zip llvm-9c2e770034d04a0966b84cac14a9e3fb3b0d4ab7.tar.gz llvm-9c2e770034d04a0966b84cac14a9e3fb3b0d4ab7.tar.bz2 |
Add begin source location for the attributed statement created from PragmaLoopHint decorated loop
Summary:
Right now it is a '<invalid sloc>' for cases like this.
CounterCoverageMappingBuilder relies on the information to decide the
region for a attributed loop.
Fixes PR40971
Reviewers: ABataev, jdenny, lebedev.ri, aaron.ballman
Reviewed by: jdenny, aaron.ballman
Differential Revision: https://reviews.llvm.org/D80944
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions