From cc543dbcc85dbda84d5aec624d80f76642566940 Mon Sep 17 00:00:00 2001
From: Elliott Slaughter <slaughter@cs.stanford.edu>
Date: Tue, 25 Jun 2024 10:23:11 -0700
Subject: [PATCH] Bump version to 1.2.0 (#670)

---
 CHANGES.md  | 6 +++++-
 default.nix | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index c63785ff..85b58c70 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,4 +1,8 @@
-# Unreleased Changes (Intended to be Version 1.2.0)
+# Release 1.2.0 (2024-06-25)
+
+This release adds new LLVM versions and introduces experimental support for SPIR-V code generation. Note that as of the tested LLVM versions, LLVM's native SPIR-V backend is unable to generate correct SPIR-V code in all cases; but the LLVM SPIR-V target can still be used in combination with the [LLVM/SPIR-V Translator](https://github.com/KhronosGroup/SPIRV-LLVM-Translator) to generate valid code.
+
+Users who generate code for AMD GPUs are strongly encouraged to upgrade to LLVM 18 and ROCm 6.0.0, as previous version combinations generate bad code to varying degrees.
 
 ## Added features
 
diff --git a/default.nix b/default.nix
index a3c140c3..1365b587 100644
--- a/default.nix
+++ b/default.nix
@@ -44,7 +44,7 @@ let
 
 in stdenv.mkDerivation rec {
   pname = "terra";
-  version = "1.1.1";
+  version = "1.2.0";
 
   src = ./.;