Krzysztof Parzyszek | 2a3b2f9 | 2016-01-15 14:08:31 +0000 | [diff] [blame^] | 1 | ; RUN: llc -march=hexagon -disable-const64=0 < %s | FileCheck %s |
| 2 | ; RUN: llc -march=hexagon -disable-const64=1 < %s | FileCheck %s --check-prefix=CHECKOLD |
| 3 | |
| 4 | ; CHECK: CONST64 |
| 5 | ; CHECKOLD-NOT: CONST64 |
| 6 | |
| 7 | target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32" |
| 8 | target triple = "hexagon" |
| 9 | |
| 10 | ; Function Attrs: nounwind |
| 11 | define void @foo() optsize { |
| 12 | entry: |
| 13 | call void @bar(i32 32768, i32 32768, i8 zeroext 1) |
| 14 | ret void |
| 15 | } |
| 16 | |
| 17 | declare void @bar(i32, i32, i8 zeroext) |
| 18 | |