diff options
author | Adam Nemet <anemet@apple.com> | 2021-07-21 09:46:47 -0700 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2021-07-22 10:45:56 -0700 |
commit | ce5b1320a7055befa118b86fb7d132721ab68c7e (patch) | |
tree | c8555b4fbf5604d7c822cbd78cb28adfdaaae0d2 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
parent | 49d840c35c69d3483ae77f94fc62c36f727b9321 (diff) | |
download | llvm-ce5b1320a7055befa118b86fb7d132721ab68c7e.zip llvm-ce5b1320a7055befa118b86fb7d132721ab68c7e.tar.gz llvm-ce5b1320a7055befa118b86fb7d132721ab68c7e.tar.bz2 |
[Matrix] Fix miscompile for NT matmul if the transpose has other use
We should only add the fake lowering entry for the matrix remark if the
transpose is not lowered on its own. `MapVector::insert` is used to insert
the entry during proper lowering which does not overwrite the fake entry in
the map.
We actually had test coverage for this but the reference output code was
wrong; it was storing undef rather than the transposed column.
Also add an assert that would have caught this.
Differential Revision: https://reviews.llvm.org/D106457
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions