Fix crash when output IR
authorHomer Hsing <homer.xing@intel.com>
Tue, 23 Apr 2013 07:34:21 +0000 (15:34 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 24 Apr 2013 07:50:32 +0000 (15:50 +0800)
When output IR, program crashes because two register names are missing.

Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: Lu Guanqun <guanqun.lu@intel.com>
backend/src/ir/profile.cpp

index 55a2492..61531be 100644 (file)
@@ -39,6 +39,7 @@ namespace ir {
         "global_offset_0", "global_offset_1", "global_offset_2",
         "stack_pointer",
         "block_ip",
+        "barrier_id", "thread_number",
     };
 
 #if GBE_DEBUG