Fix OpenCL address space mapping

This commit is contained in:
Aries 2023-01-16 10:28:37 +08:00
parent b21d1cd948
commit c4e5ff31b2
1 changed files with 1 additions and 1 deletions

View File

@ -28,8 +28,8 @@ class RISCVTargetInfo : public TargetInfo {
enum AddrSpace {
Generic = 0,
Global = 1,
Constant = 1,
Local = 3,
Constant = 4,
Private = 5
};