From 7a2fd89ccad1b0d60171f5cafe04f64c711cce84 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 18 Sep 2004 06:28:07 +0000 Subject: [PATCH] Make this HTML 4.01 strict Update to reflect changes to the 'Register' tblgen class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16392 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMBackend.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html index 1fb88a36332..1a7bc7c428b 100644 --- a/docs/WritingAnLLVMBackend.html +++ b/docs/WritingAnLLVMBackend.html @@ -16,7 +16,7 @@
  • Introduction
  • Writing a backend
      -
    1. Machine backends
    2. +
    3. Machine backends
      1. Outline
      2. Implementation details
      3. @@ -148,15 +148,15 @@ architected registers.

         // class Register is defined in Target.td
        -class TargetReg : Register {
        +class TargetReg<string name> : Register<name> {
           let Namespace = "Target";
         }
         
        -class IntReg<bits<5> num> : TargetReg {
        +class IntReg<bits<5> num, string name> : TargetReg<name> {
           field bits<5> Num = num;
         }
         
        -def R0 : IntReg<0>;
        +def R0 : IntReg<0, "%R0">;
         ...
         
         // class RegisterClass is defined in Target.td