author | Tim Northover <tnorthover@apple.com> | |
Tue, 29 Jul 2014 10:20:22 +0000 (10:20 +0000) | ||
committer | Tim Northover <tnorthover@apple.com> | |
Tue, 29 Jul 2014 10:20:22 +0000 (10:20 +0000) | ||
commit | 6f800f7333575312c9885bd14f1a6675130d8d81 | |
tree | 94c6214569f1046a17bc5be6b0f896b5f8e89a71 | tree | snapshot (tar.xz tar.gz zip) |
parent | 30ef915bb4fdcc815c673819563bf0e487367557 | commit | diff |
CodeGenPrep: fall back to MVT::Other if instruction's type isn't an EVT.
The test being performed is just an approximation anyway, so it really
shouldn't crash when things don't go entirely as expected.
Should fix PR20474.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214177 91177308-0d34-0410-b5e6-96231b3b80d8
The test being performed is just an approximation anyway, so it really
shouldn't crash when things don't go entirely as expected.
Should fix PR20474.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214177 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp | diff | blob | history | |
test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg | [new file with mode: 0644] | blob |
test/Transforms/CodeGenPrepare/AArch64/trunc-weird-user.ll | [new file with mode: 0644] | blob |