Displaying 1 result from an estimated 1 matches for "emitsubregnode".
2017 Sep 18
1
Resend: assertion in MachineCopyPropagation::isNopCopy
...COPY %V6
%V6<def> = COPY %V2_LO
(isNopCopy is called with src and dest of the first instruction switched.)
So dst2 == src1 but src2 is a subregister of dst1.
Is there some assumption that size(src) == size(dst)?
This second COPY, with size(src) != size(dst) was generated in
InstrEmitter::EmitSubregNode at
// Create the extract_subreg machine instruction.
So it's not out-of-tree code.
Am I missing something or should the assert condition be part of the
"if" condition instead?
Thanks,
--
Verena Beckham
Senior Principal Software Engineer, Compilers
Codeplay Software Ltd
Level C,...