PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2002-02-13-ReloadProblem.c
blobab9b56da3e397a187bd3eaac32bf87b83ac00cd7
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
3 /* This triggered a problem in reload, fixed by disabling most of the
4 * steps of compilation in GCC. Before this change, the code went through
5 * the entire backend of GCC, even though it was unnecessary for LLVM output
6 * now it is skipped entirely, and since reload doesn't run, it can't cause
7 * a problem.
8 */
10 extern int tolower(int);
12 const char *rangematch(const char *pattern, int test, int c) {
14 if ((c <= test) | (tolower(c) <= tolower((unsigned char)test)))
15 return 0;
17 return pattern;