[PATCH] D77093: [SelectionDAGBuilder] Fix ISD::FREEZE creation for structs with fields of different types.
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 30 22:55:06 PDT 2020
aqjune added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:10556
+ ComputeValueVTs(DAG.getTargetLoweringInfo(), DAG.getDataLayout(), I.getType(),
+ ValueVTs);
+ unsigned NumValues = ValueVTs.size();
----------------
aqjune wrote:
> Realized that the original code had a problem with a nested struct type.
> It would be great if there is a test for freeze with nested struct type.
Sorry, the original code seems to successfully deal with a nested struct type too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77093/new/
https://reviews.llvm.org/D77093
More information about the llvm-commits
mailing list