[llvm-dev] Instruction selection for 'load' based on static vs. dynamic data
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Tue May 9 08:12:00 PDT 2017
On 5/9/2017 10:06 AM, Dr. ERDI Gergo wrote:
> On Tue, 9 May 2017, Krzysztof Parzyszek wrote:
>
>> You can have any tree of machine instructions as the output.
>
> Cool! Even better would be if I could use non-machine (LLVM)
> instructions in the output pattern, and let ISel do its job on it. Is
> there a way to do that?
You can either have a target-specific DAG-combine function, or you can
use "PreprocessISelDAG", but there is no way to do it in .td files.
-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