[RISCV] Add test/CodeGen/RISCV/lsr-legaladdimm.ll
authorAlex Bradbury <asb@lowrisc.org>
Thu, 26 Apr 2018 12:57:29 +0000 (12:57 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 26 Apr 2018 12:57:29 +0000 (12:57 +0000)
commitc2f78f80dac8af43b7c96e31ae184bace299dd29
treece2dbe31ecb0b37aa84ce46dc717a3424646a4d3
parent38fe227fd9f68960f8e34c1af5ff3ae8621fe7fe
[RISCV] Add test/CodeGen/RISCV/lsr-legaladdimm.ll

Add a test case which will show a codegen difference upon the implementation
of a target-specific isLegalAddImmediate.

llvm-svn: 330936
llvm/test/CodeGen/RISCV/lsr-legaladdimm.ll [new file with mode: 0644]