[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / CodeGen / ARM / Windows / wineh-basic.ll
blob848ffbf506f2f835589e089c54766304ad3d1796
1 ; RUN: llc < %s | FileCheck %s
3 ; CHECK: "??1field@@AAA@XZ":
4 ; CHECK: bl free
6 ; C++ source:
7 ; class field { ~field(); };
8 ; extern "C" void free(void *ptr);
9 ; field::~field() { free((void *)0); }
11 ; ModuleID = 't.cpp'
12 source_filename = "t.cpp"
13 target datalayout = "e-m:w-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
14 target triple = "thumbv7--windows-msvc19.0.24210"
16 %class.field = type { i8 }
18 ; Function Attrs: nounwind
19 define arm_aapcs_vfpcc void @"\01??1field@@AAA@XZ"(%class.field* nocapture readnone %this) unnamed_addr #0 align 2 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {
20 entry:
21   invoke arm_aapcs_vfpcc void @free(i8* null)
22           to label %invoke.cont unwind label %terminate
24 invoke.cont:                                      ; preds = %entry
25   ret void
27 terminate:                                        ; preds = %entry
28   %0 = cleanuppad within none []
29   tail call arm_aapcs_vfpcc void @__std_terminate() #2 [ "funclet"(token %0) ]
30   unreachable
33 declare arm_aapcs_vfpcc void @free(i8*) local_unnamed_addr #1
35 declare arm_aapcs_vfpcc i32 @__CxxFrameHandler3(...)
37 declare arm_aapcs_vfpcc void @__std_terminate() local_unnamed_addr
39 attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="cortex-a9" "target-features"="+dsp,+fp16,+neon,+strict-align,+vfp3" "unsafe-fp-math"="false" "use-soft-float"="false" }
40 attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="cortex-a9" "target-features"="+dsp,+fp16,+neon,+strict-align,+vfp3" "unsafe-fp-math"="false" "use-soft-float"="false" }
41 attributes #2 = { noreturn nounwind }
43 !llvm.module.flags = !{!0, !1}
44 !llvm.ident = !{!2}
46 !0 = !{i32 1, !"wchar_size", i32 2}
47 !1 = !{i32 1, !"min_enum_size", i32 4}
48 !2 = !{!"clang version 4.0.0 (trunk 284595) (llvm/trunk 284597)"}