diff options
author | Philip Reames <preames@rivosinc.com> | 2022-09-22 12:15:56 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-09-22 12:21:47 -0700 |
commit | 46525fee812343b5e603a77893dfe2983768ca56 (patch) | |
tree | c6b272a6ea546496c75ea0676c6ae378df8de44a /clang/lib/Lex/ModuleMap.cpp | |
parent | 779ccaea4f1fee447bd9b20c59f2aafb5c072ebe (diff) | |
download | llvm-46525fee812343b5e603a77893dfe2983768ca56.zip llvm-46525fee812343b5e603a77893dfe2983768ca56.tar.gz llvm-46525fee812343b5e603a77893dfe2983768ca56.tar.bz2 |
[DAGCombine] Check both forms of a commutative transform
The transform to fold an add into the base of a scatter/gather was only checking to see if the LHS was a splat. Included test change indicates that splats are not canonicalized to LHS, and that we need to check both sides.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions