mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Implement X + X for vectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
6
test/Transforms/InstCombine/2008-05-22-FoldAddIVec.ll
Normal file
6
test/Transforms/InstCombine/2008-05-22-FoldAddIVec.ll
Normal file
@@ -0,0 +1,6 @@
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep mul
|
||||
|
||||
define <3 x i8> @f(<3 x i8> %i) {
|
||||
%A = add <3 x i8> %i, %i
|
||||
ret <3 x i8> %A
|
||||
}
|
Reference in New Issue
Block a user