Skip to content
  1. May 16, 2009
    • Jakob Stoklund Olesen's avatar
      Pass to verify generated machine code. · 36c027ab
      Jakob Stoklund Olesen authored
      The following is checked:
      
      * Operand counts: All explicit operands must be present.
      
      * Register classes: All physical and virtual register operands must be
        compatible with the register class required by the instruction descriptor.
      
      * Register live intervals: Registers must be defined only once, and must be
        defined before use.
      
      The machine code verifier is enabled with the command-line option
      '-verify-machineinstrs', or by defining the environment variable
      LLVM_VERIFY_MACHINEINSTRS to the name of a file that will receive all the
      verifier errors.
      
      llvm-svn: 71918
      36c027ab
Loading