aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
diff options
context:
space:
mode:
authorChris Ye <yechunliang@gmail.com>2020-01-16 11:40:44 +0000
committerJeremy Morse <jeremy.morse@sony.com>2020-01-16 11:58:09 +0000
commit75188b01e9af3a89639d84be912f84610d6885ba (patch)
treeb8d60839ddcde7e38693e0e90f4af3726d4cdfd8 /llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
parent8a3446746098ba29348bb8f85357dd0b466a6d6e (diff)
downloadllvm-75188b01e9af3a89639d84be912f84610d6885ba.zip
llvm-75188b01e9af3a89639d84be912f84610d6885ba.tar.gz
llvm-75188b01e9af3a89639d84be912f84610d6885ba.tar.bz2
[PHIEliminate] Move dbg values after phi and label
If there are DBG_VALUEs between phi and label (after phi and before label), DBG_VALUE will block PHI lowering after the LABEL. Moving all DBG_VALUEs after Labels in the function ScheduleDAGSDNodes::EmitSchedule to avoid impacting PHI lowering. before: PHI DBG_VALUE LABEL after: (move DBG_VALUE after label) PHI LABEL DBG_VALUE then: (phi lowering after label) LABEL COPY DBG_VALUE Fixes the issue: https://bugs.llvm.org/show_bug.cgi?id=43859 Differential Revision: https://reviews.llvm.org/D70597
Diffstat (limited to 'llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp')
0 files changed, 0 insertions, 0 deletions