diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-06-13 12:46:26 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-06-13 12:51:24 -0700 |
commit | a5cd198181f937417c988e82f50461adb29aef76 (patch) | |
tree | eb17667dcd659ba56de1af16af56d16cab538a0b /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f231829304d15dca0dad8bafe35c4277904db602 (diff) | |
download | llvm-a5cd198181f937417c988e82f50461adb29aef76.zip llvm-a5cd198181f937417c988e82f50461adb29aef76.tar.gz llvm-a5cd198181f937417c988e82f50461adb29aef76.tar.bz2 |
[SelectionDAG] Don't allow type legalization to create noop VP_TRUNCATE.
Type legalization may need to promote the result to the same type
as the input. Instead of forming a vp_truncate with the same
source and dest type, don't create any vp_truncate.
Handling in getNode like is done for ISD::TRUNCATE.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions