diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/extract-insert.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/extract-insert.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/extract-insert.ll b/llvm/test/CodeGen/X86/extract-insert.ll index de8ee704b88..b3fb50de718 100644 --- a/llvm/test/CodeGen/X86/extract-insert.ll +++ b/llvm/test/CodeGen/X86/extract-insert.ll @@ -28,6 +28,10 @@ define i8 @extractelt_bitcast(i32 %x) nounwind { ret i8 %ext } +; TODO: This should have folded to avoid vector ops, but the transform +; is guarded by 'hasOneUse'. That limitation apparently makes some AMDGPU +; codegen better. + define i8 @extractelt_bitcast_extra_use(i32 %x, <4 x i8>* %p) nounwind { ; X86-LABEL: extractelt_bitcast_extra_use: ; X86: # %bb.0: |