aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authoralex-t <alexander.timofeev@amd.com>2022-03-10 12:57:15 +0300
committeralex-t <alexander.timofeev@amd.com>2022-03-10 15:03:22 +0300
commitd159b4444c880b8f42c4d507a49107535657be94 (patch)
tree0623b9515cb24a3840ca4673609cbca272adfd21 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentaf98b0af6705df3859ee3c98525b57025d40d9e8 (diff)
downloadllvm-d159b4444c880b8f42c4d507a49107535657be94.zip
llvm-d159b4444c880b8f42c4d507a49107535657be94.tar.gz
llvm-d159b4444c880b8f42c4d507a49107535657be94.tar.bz2
[AMDGPU] Enable divergence predicates for negative inline constant subtraction
We have a pattern that undo sub x, c -> add x, -c canonicalization since c is more likely an inline immediate than -c. This patch enables it to select scalar or vector subtracion by the input node divergence. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D121360
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions