[llvm-commits] [llvm] r68464 - in /llvm/trunk: lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp test/CodeGen/ARM/2009-04-06-AsmModifier.ll

Richard Pennington rich at pennware.com
Tue Apr 7 06:18:24 PDT 2009


Duncan Sands wrote:
> Hi Bob,
> 
>> Handle 'a' modifier in ARM inline assembly.
>> Patch by Richard Pennington.
> ...
>> +    case 'a': // Don't print "#" before a global var name or constant.
>>      case 'c': // Don't print "$" before a global var name or constant.
>> +      printOperand(MI, OpNo, "no_hash");
>> +      return false;
> 
> is this correct?  I talked with Richard on IRC, and some
> testing with gcc on ARM seemed to show gcc doing something
> different with this modifier to what Richard expected.
> 
> Ciao,
> 
> Duncan.
> 
Duncan,

Bob put me on the right path. It was the "no_hash" that was needed.
We match gcc now.

-Rich



More information about the llvm-commits mailing list