aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2021-04-08 14:09:31 +0100
committerJay Foad <jay.foad@amd.com>2021-04-08 14:26:12 +0100
commitc28f79a0e3352a972026f6dc896d13f81835b468 (patch)
treef564e8ba27cecec168d1bdf9eb288b06fb6f2a58 /clang/lib/Basic/SourceManager.cpp
parente4de3cdf3d66590ac7ac3eb468c3027aaa11a71b (diff)
downloadllvm-c28f79a0e3352a972026f6dc896d13f81835b468.zip
llvm-c28f79a0e3352a972026f6dc896d13f81835b468.tar.gz
llvm-c28f79a0e3352a972026f6dc896d13f81835b468.tar.bz2
[AMDGPU] SIFoldOperands: try harder to fold cndmask instructions
Look through copies to find more cases where the two values being selected are identical. The motivation for this is just to be able to remove the weird special case where tryFoldCndMask was called from foldInstOperand, part way through folding a move-immediate into its users, without regressing any lit tests.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions