Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. This
[llvm/stm8.git] / lib / Target / TargetAsmLexer.cpp
blobd4893ff2521ebc13c782f3506078438f26aa1364
1 //===-- llvm/Target/TargetAsmLexer.cpp - Target Assembly Lexer ------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
10 #include "llvm/Target/TargetAsmLexer.h"
11 using namespace llvm;
13 TargetAsmLexer::TargetAsmLexer(const Target &T) : TheTarget(T), Lexer(NULL) {}
14 TargetAsmLexer::~TargetAsmLexer() {}