[llvm-dev] a bundle with one instruction
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 25 06:08:04 PST 2016
On 1/22/2016 5:38 PM, Rail Shafigulin wrote:
>
> Just out of curiosity, why Hexagon doesn't create a bundle with a single
> instruction earlier? Wouldn't it be more consistent (and convinient) to
> bundle all the instructions in one place (at MachineInstr level) rather
> then handle it in different places?
The framework that handles bundles in lib/CodeGen will assert if you
create a bundle with a single instruction. Most likely there are some
assumptions in it that a bundle will have at least two, but I don't know
the details.
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list