blob: ddaed4a0c6e24ffcba1bb7cedf299175f719aa22 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Make sure this testcase codegens to the lda -1 instruction
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00002; RUN: llvm-as < %s | llc -march=alpha | grep {\\-1}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00004define i64 @bar() {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005entry:
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00006 ret i64 -1
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007}