[MIPS GlobalISel] Adding GlobalISel

Description

[MIPS GlobalISel] Adding GlobalISel

Add GlobalISel infrastructure up to the point where we can select a ret
void.

Patch by Petar Avramovic.

Differential Revision: https://reviews.llvm.org/D43583

Details

Committed
petarjFeb 23 2018, 3:06 AM
Differential Revision
D43583: [MIPS GlobalISel] Adding GlobalISel
Parents
rL325887: [ELF] - Do not remove empty output sections that are explicitly assigned to…
Branches
Unknown
Tags
Unknown
lei added a subscriber: lei.Feb 23 2018, 7:57 AM

Hi,

Your patch broke the PowerPC sanitizers. Please fix.

[ 96%] Built target clangStaticAnalyzerCheckers
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/lib/Target/Mips/MipsInstructionSelector.cpp:32:28: error: private field 'TM' is not used [-Werror,-Wunused-private-field]
  const MipsTargetMachine &TM;
                           ^
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/lib/Target/Mips/MipsInstructionSelector.cpp:33:24: error: private field 'STI' is not used [-Werror,-Wunused-private-field]
  const MipsSubtarget &STI;
                       ^
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/lib/Target/Mips/MipsInstructionSelector.cpp:36:31: error: private field 'RBI' is not used [-Werror,-Wunused-private-field]
  const MipsRegisterBankInfo &RBI;
                              ^
3 errors generated.
lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/build.make:446: recipe for target 'lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsInstructionSelector.cpp.o' failed
make[3]: *** [lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsInstructionSelector.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:11310: recipe for target 'lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/all' failed
make[2]: *** [lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/all] Error 2
CMakeFiles/Makefile2:27285: recipe for target 'tools/clang/runtime/CMakeFiles/check-asan.dir/rule' failed
make[1]: *** [tools/clang/runtime/CMakeFiles/check-asan.dir/rule] Error 2
Makefile:8075: recipe for target 'check-asan' failed
make: *** [check-asan] Error 2
+ echo @@@STEP_FAILURE@@@
@@@STEP_FAILURE@@@
+ '[' Linux == Linux ']'
+ check_64bit 1 asan-dynamic
+ CONDITION=1
+ SANITIZER=asan-dynamic
+ '[' 1 == 1 ']'
+ echo @@@BUILD_STEP 64-bit check-asan-dynamic@@@

Hi,

Your patch broke the PowerPC sanitizers. Please fix.

It should be fixed with r325917.

lei added a comment.Feb 23 2018, 11:52 AM

All good now. Thanks