diff options
| author | Louis Gerbarg <lgg@apple.com> | 2014-07-07 21:37:51 +0000 |
|---|---|---|
| committer | Louis Gerbarg <lgg@apple.com> | 2014-07-07 21:37:51 +0000 |
| commit | 4c5b4054b215cd66aaeca4485a3c24c4496b8a0e (patch) | |
| tree | 3f93f82cf5205c717eaa566ae90038cb1c15134d /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 8bb347350a0b87062b5a88f5f97dd285734a942a (diff) | |
| download | llvm-4c5b4054b215cd66aaeca4485a3c24c4496b8a0e.zip llvm-4c5b4054b215cd66aaeca4485a3c24c4496b8a0e.tar.gz llvm-4c5b4054b215cd66aaeca4485a3c24c4496b8a0e.tar.bz2 | |
Allow AArch64FastISel to degrade graceully in the presence of an MVT::i128
Currently AArch64FastISel crashes if it tries to extend an integer into an
MVT::i128. This can happen by creating 128 bit integers like so:
typedef unsigned int uint128_t __attribute__((mode(TI)));
typedef int sint128_t __attribute__((mode(TI)));
This patch makes EmitIntExt check for their presence and then falls back to
SelectionDAG.
Tests included.
rdar://17516686
llvm-svn: 212492
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
