llvm-6502/lib/Target/Hexagon/MCTargetDesc
Justin Bogner 0b48c1e633 Hexagon: Paper over the undefined behaviour introduced by r238692
This stops shifting a 32-bit value by such absurd amounts as 96 and
120. We do this by dropping a call to the function that was doing this
entirely, which rather surprisingly doesn't break *any* tests.

I've also added an assert in the misbehaving function to prove that
it's no longer being called with completely invalid arguments.

This change looks pretty bogus and we should probably be reverting
r238692 instead, but this is hard to do with the number of follow ups
that have happened since. It can't be any worse than the undefined
behaviour that was happening before though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240526 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-24 07:03:07 +00:00
..
CMakeLists.txt [Hexagon] Adding MC ELF streamer and updating addend relocation test which shows correct ELF symbol. 2015-06-17 03:06:16 +00:00
HexagonAsmBackend.cpp [Hexagon] Adding decoders for signed operands and ensuring all signed operand types disassemble correctly. 2015-06-10 16:52:32 +00:00
HexagonBaseInfo.h [Hexagon] Adding functionality for searching for compound instruction pairs. Compound instructions reduce slot resource requirements freeing those packet slots up for more instructions. 2015-06-08 16:34:47 +00:00
HexagonELFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonFixupKinds.h
HexagonInstPrinter.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
HexagonInstPrinter.h
HexagonMCAsmInfo.cpp Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
HexagonMCAsmInfo.h Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
HexagonMCCodeEmitter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCCodeEmitter.h [Hexagon] Moving pass declarations out of header and in to implementation files. Removing unused function getSubtargetInfo from HexagonMCCodeEmitter.cpp Removing deletion of copy construction and assignment operator since parent already deletes it. 2015-06-15 19:05:35 +00:00
HexagonMCCompound.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCDuplexInfo.cpp Remove duplicate conditional in if-stmt. 2015-06-15 20:16:53 +00:00
HexagonMCELFStreamer.cpp [Hexagon] Adding MC ELF streamer and updating addend relocation test which shows correct ELF symbol. 2015-06-17 03:06:16 +00:00
HexagonMCELFStreamer.h [Hexagon] Adding MC ELF streamer and updating addend relocation test which shows correct ELF symbol. 2015-06-17 03:06:16 +00:00
HexagonMCInstrInfo.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCInstrInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCShuffler.cpp [Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing. 2015-06-05 16:00:11 +00:00
HexagonMCShuffler.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCTargetDesc.cpp Make helper functions static. NFC. 2015-06-23 14:51:40 +00:00
HexagonMCTargetDesc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonShuffler.cpp Hexagon: Paper over the undefined behaviour introduced by r238692 2015-06-24 07:03:07 +00:00
HexagonShuffler.h Hexagon: Paper over the undefined behaviour introduced by r238692 2015-06-24 07:03:07 +00:00
LLVMBuild.txt
Makefile