File tree Expand file tree Collapse file tree 3 files changed +11
-17
lines changed 
clang/include/clang/Basic Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 1111// 
1212// ===----------------------------------------------------------------------===//
1313
14- class  RISCVXMIPSBuiltin <string prototype, string features = " " 
15-   let Spellings = [" __builtin_riscv_" 
16-   let Prototype = prototype;
17-   let Features = features;
18- }
19- 
2014// ===----------------------------------------------------------------------===//
21- //  MIPS execution control extensions   .
15+ //  MIPS execution control extensions.
2216// ===----------------------------------------------------------------------===//
2317let Attributes = [NoThrow, Const] in {
24- def mips_pause : RISCVXMIPSBuiltin <" void()" " xmipsexectl" 
25- def mips_ehb   : RISCVXMIPSBuiltin <" void()" " xmipsexectl" 
26- def mips_ihb   : RISCVXMIPSBuiltin <" void()" " xmipsexectl" 
27- }
18+ def mips_pause : RISCVBuiltin <" void()" " xmipsexectl" 
19+ def mips_ehb   : RISCVBuiltin <" void()" " xmipsexectl" 
20+ def mips_ihb   : RISCVBuiltin <" void()" " xmipsexectl" 
21+ }
Original file line number Diff line number Diff line change 1- //===- IntrinsicsRISCVXMIPS.td - Defines  MIPS intrinsics -------*- tablegen -*-===//
1+ //===- IntrinsicsRISCVXMIPS.td - MIPS intrinsics -------*- tablegen -*--- -===//
22//
33// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44// See https://llvm.org/LICENSE.txt for license information.
55// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66//
77//===----------------------------------------------------------------------===//
88//
9- // This file defines all of the MIPS specific intrinsics for RISCV .
9+ // This file defines all of the MIPS specific intrinsics for RISC-V .
1010//
1111//===----------------------------------------------------------------------===//
1212
Original file line number Diff line number Diff line change 1- ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --tool /home/ukalappa/llvm/github/build/bin/llc -- version 6 
1+ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6 
22; RUN: llc -mtriple=riscv64 -mcpu=mips-p8700 -O3  -verify-machineinstrs < %s \ 
33; RUN:   | FileCheck -check-prefix=MIPS %s 
44
55target  datalayout  = "e-m:e-p:32:32-i64:64-n32-S128" 
66
7- define  dso_local  void  @test_mips_pause ()  local_unnamed_addr    {
7+ define  void  @test_mips_pause () {
88; MIPS-LABEL: test_mips_pause: 
99; MIPS:       # %bb.0: # %entry 
1010; MIPS-NEXT:    mips.pause 
1414  ret  void 
1515}
1616
17- define  dso_local  void  @test_mips_ehb ()  local_unnamed_addr    {
17+ define  void  @test_mips_ehb () {
1818; MIPS-LABEL: test_mips_ehb: 
1919; MIPS:       # %bb.0: # %entry 
2020; MIPS-NEXT:    mips.ehb 
2424  ret  void 
2525}
2626
27- define  dso_local  void  @test_mips_ihb ()  local_unnamed_addr    {
27+ define  void  @test_mips_ihb () {
2828; MIPS-LABEL: test_mips_ihb: 
2929; MIPS:       # %bb.0: # %entry 
3030; MIPS-NEXT:    mips.ihb 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments