[llvm] r293248 - [ARM][LegalizerInfo] Specify the type of the opcode.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 26 17:30:46 PST 2017
Author: qcolombet
Date: Thu Jan 26 19:30:46 2017
New Revision: 293248
URL: http://llvm.org/viewvc/llvm-project?rev=293248&view=rev
Log:
[ARM][LegalizerInfo] Specify the type of the opcode.
This is to fix the win7 bot that does not seem to be very
good at infering the type when it gets used in an initiliazer list.
Modified:
llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp?rev=293248&r1=293247&r2=293248&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp Thu Jan 26 19:30:46 2017
@@ -42,7 +42,7 @@ ARMLegalizerInfo::ARMLegalizerInfo() {
for (auto Ty : {s1, s8, s16, s32})
setAction({G_ADD, Ty}, Legal);
- for (auto Op : {G_SEXT, G_ZEXT}) {
+ for (unsigned Op : {G_SEXT, G_ZEXT}) {
setAction({Op, s32}, Legal);
for (auto Ty : {s1, s8, s16})
setAction({Op, 1, Ty}, Legal);
More information about the llvm-commits
mailing list