[llvm] r206840 - [cleanup] Fix another place where we were including the tablegen'ed code

Chandler Carruth chandlerc at gmail.com
Mon Apr 21 19:25:18 PDT 2014


Author: chandlerc
Date: Mon Apr 21 21:25:17 2014
New Revision: 206840

URL: http://llvm.org/viewvc/llvm-project?rev=206840&view=rev
Log:
[cleanup] Fix another place where we were including the tablegen'ed code
of a '.inc' file before including actual headers. In this case we had
both duplicated a header's include and were including a standard header.

Modified:
    llvm/trunk/lib/Target/NVPTX/NVPTXRegisterInfo.h

Modified: llvm/trunk/lib/Target/NVPTX/NVPTXRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/NVPTXRegisterInfo.h?rev=206840&r1=206839&r2=206840&view=diff
==============================================================================
--- llvm/trunk/lib/Target/NVPTX/NVPTXRegisterInfo.h (original)
+++ llvm/trunk/lib/Target/NVPTX/NVPTXRegisterInfo.h Mon Apr 21 21:25:17 2014
@@ -16,11 +16,10 @@
 
 #include "ManagedStringPool.h"
 #include "llvm/Target/TargetRegisterInfo.h"
+#include <sstream>
 
 #define GET_REGINFO_HEADER
 #include "NVPTXGenRegisterInfo.inc"
-#include "llvm/Target/TargetRegisterInfo.h"
-#include <sstream>
 
 namespace llvm {
 





More information about the llvm-commits mailing list