Kai Nacke 5403c59c60 [PPC] Opaque pointer migration, part 2.
The LIT test cases were migrated with the script provided by
Nikita Popov. Due to the size of the change it is split into
several parts.

Reviewed By: nemanja, nikic

Differential Revision: https://reviews.llvm.org/D135474
2022-10-11 17:24:06 +00:00

13 lines
572 B
LLVM

; RUN: llc -verify-machineinstrs -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s
; REQUIRES: asserts
define protected swiftcc void @"$s22LanguageServerProtocol13HoverResponseV8contents5rangeAcA13MarkupContentV_SnyAA8PositionVGSgtcfC"() {
%1 = load <2 x i64>, ptr undef, align 16
%2 = load i1, ptr undef, align 8
%3 = insertelement <2 x i1> undef, i1 %2, i32 0
%4 = shufflevector <2 x i1> %3, <2 x i1> undef, <2 x i32> zeroinitializer
%5 = select <2 x i1> %4, <2 x i64> zeroinitializer, <2 x i64> %1
store <2 x i64> %5, ptr undef, align 8
ret void
}