aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2018-12-13 12:06:54 +0000
committerDiana Picus <diana.picus@linaro.org>2018-12-13 12:06:54 +0000
commit99cd644b6cbb9f33f56da99237e4e131ec4c3c8e (patch)
tree119a9eea25a32fd832e3be1d1b2e6d8d7acbcd14 /clang/lib/CodeGen/CodeGenModule.cpp
parent77fc551d1aba7765a29f0b31790e5aebe5380ea5 (diff)
downloadllvm-99cd644b6cbb9f33f56da99237e4e131ec4c3c8e.zip
llvm-99cd644b6cbb9f33f56da99237e4e131ec4c3c8e.tar.gz
llvm-99cd644b6cbb9f33f56da99237e4e131ec4c3c8e.tar.bz2
[ARM GlobalISel] Support exts and truncs for Thumb2
Mark G_SEXT, G_ZEXT and G_ANYEXT to 32 bits as legal and add support for them in the instruction selector. This uses handwritten code again because the patterns that are generated with TableGen are tuned for what the DAG combiner would produce and not for simple sext/zext nodes. Luckily, we only need to update the opcodes to use the Thumb2 variants, everything else can be reused from ARM. llvm-svn: 349026
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions