diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-09-22 11:08:17 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-09-23 09:50:42 -0500 |
commit | bc38c427d454d3ae1e38c97c5c03cf372882a13f (patch) | |
tree | 6bf0a46292481097528a1abc8b4e04579c7bc4ce /clang/lib/Lex/ModuleMap.cpp | |
parent | f1128f3782363ca26e0bdf9323a0d16570dcfba0 (diff) | |
download | llvm-bc38c427d454d3ae1e38c97c5c03cf372882a13f.zip llvm-bc38c427d454d3ae1e38c97c5c03cf372882a13f.tar.gz llvm-bc38c427d454d3ae1e38c97c5c03cf372882a13f.tar.bz2 |
[DAGCombiner][AArch64] Fix incorrect cast VT in `takeInexpensiveLog2`
Previously, we where taking `CurVT` before finalizing `ToCast` which
meant potentially returning an `SDValue` with an illegal `ValueType`
for the operation.
Fix is to just take `CurVT` after we have finalized `ToCast` with
`PeekThroughCastsAndTrunc`.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions