Oliver Stannard | 5dc2934 | 2014-06-20 10:08:11 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s | FileCheck %s |
| 2 | |
| 3 | target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64" |
| 4 | target triple = "armv7--none-eabi" |
| 5 | |
| 6 | define i32 @f(i64 %z) { |
| 7 | ret i32 0 |
| 8 | } |
| 9 | |
| 10 | !llvm.module.flags = !{!0, !1} |
| 11 | |
Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 12 | !0 = !{i32 1, !"wchar_size", i32 2} |
| 13 | !1 = !{i32 1, !"min_enum_size", i32 4} |
Oliver Stannard | 5dc2934 | 2014-06-20 10:08:11 +0000 | [diff] [blame] | 14 | |
| 15 | ; CHECK: .eabi_attribute 18, 2 @ Tag_ABI_PCS_wchar_t |
| 16 | ; CHECK: .eabi_attribute 26, 2 @ Tag_ABI_enum_size |