diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-11-22 13:14:06 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-11-22 13:14:06 +0000 |
| commit | b025b9289861f78086c8b72e538f0d36f2ade2ec (patch) | |
| tree | 6cc459c056547b3d6ba2a168a6c5f3f050481f6f /lib/Target/XCore/XCoreTargetObjectFile.cpp | |
| parent | e1bacb886d9bcb8fd9cc48dcf2062847b51f4e0f (diff) | |
| download | llvm-b025b9289861f78086c8b72e538f0d36f2ade2ec.tar.gz llvm-b025b9289861f78086c8b72e538f0d36f2ade2ec.tar.bz2 llvm-b025b9289861f78086c8b72e538f0d36f2ade2ec.tar.xz | |
[mips][msa] Fix corner case for integer constant splats with undef values.
lowerBUILD_VECTOR() was treating integer constant splats as being legal
regardless of whether they had undef values. This caused instruction
selection failures when the undefs were legalized to zero, making the
constant non-splat.
Fixed this by requiring HasAnyUndef to be false for a integer constant
splat to be legal. If it is true, a new node is generated with the undefs
replaced with the necessary values to remain a splat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
