PIC16 emits auto variables as globals. When optimizer removes a function entierly...
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Tue, 9 Jun 2009 15:31:19 +0000 (15:31 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Tue, 9 Jun 2009 15:31:19 +0000 (15:31 +0000)
commitb157f2592660d77a8d0b6107ab603ccbf7e39a67
tree2956f044c4891594264e5763e5bc48f1d406d3ee
parentf5aefbdb79886e64878500e13506fe61389b4c7b
PIC16 emits auto variables as globals. When optimizer removes a function entierly by estimating its side effects on globals, those globals(autos) without a function were not being printed by the Asm printer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73135 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PIC16/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16AsmPrinter.h
lib/Target/PIC16/PIC16TargetAsmInfo.h