blob: 0db767f68e517a6d09905430102a3b990f49036e [file] [log] [blame]
Andrew Lenharth2e184e22005-04-08 16:46:44 +00001; Make sure this testcase codegens to the lda -1 instruction
Dan Gohmanc8054d92009-09-09 00:09:15 +00002; RUN: llc < %s -march=alpha | grep {\\-1}
Andrew Lenharth2e184e22005-04-08 16:46:44 +00003
Tanya Lattner3f047732008-02-19 01:41:04 +00004define i64 @bar() {
Andrew Lenharth2e184e22005-04-08 16:46:44 +00005entry:
Tanya Lattner3f047732008-02-19 01:41:04 +00006 ret i64 -1
Andrew Lenharth2e184e22005-04-08 16:46:44 +00007}