[PATCH] D35594: [GISel]: ConstantFold operations when building MIR
Aditya Nandakumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 28 14:17:55 PDT 2017
aditya_nandakumar updated this revision to Diff 108713.
aditya_nandakumar marked an inline comment as done.
aditya_nandakumar added a comment.
Added more integer operations, along with tests.
Disabled constant folding cast instructions as MIR currently doesn't infer legality of constants of type that it creates.
https://reviews.llvm.org/D35594
Files:
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35594.108713.patch
Type: text/x-patch
Size: 8556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170728/f68356ae/attachment.bin>
More information about the llvm-commits
mailing list