1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/unittests
Duncan Sands b68c17bcb8 Teach getCastOpcode about element-by-element vector casts. For example, "trunc"
can be used to turn a <4 x i64> into a <4 x i32> but getCastOpcode would assert
if you passed these types to it.  Note that this strictly extends the previous
functionality: if getCastOpcode previously accepted two vector types (i.e. didn't
assert) then it still will and returns the same opcode (BitCast).  That's because
before it would only accept vectors with the same bitwidth, and the new code only
touches vectors with the same length.  However if two vectors have both the same
bitwidth and the same length then their element types have the same bitwidth, so
the new logic will return BitCast as before.

llvm-svn: 131530
2011-05-18 07:13:41 +00:00
..
ADT Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing. 2011-04-28 20:20:12 +00:00
Analysis
ExecutionEngine unittests/CMakeLists.txt: [PR8225] Tweak linking JITTests on MSVC to add JITTests.def. 2010-11-19 03:19:42 +00:00
Support Fixes warnings emitted by Visual Studio 2010 compiler. 2011-03-01 23:11:57 +00:00
Transforms Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
VMCore Teach getCastOpcode about element-by-element vector casts. For example, "trunc" 2011-05-18 07:13:41 +00:00
CMakeLists.txt Handle gcc-compatible compilers (such as clang) the same way we handle 2011-05-11 13:53:08 +00:00
Makefile Merge System into Support. 2010-11-29 18:16:10 +00:00
Makefile.unittest build: Add MAKEFILE_UNITTEST_NO_INCLUDE_COMMON build variable, to be leveraged 2011-02-04 17:12:18 +00:00