[PATCH] D43105: [RISCV] Enable __int128_t and __uint128_t through clang flag

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 22 16:09:27 PST 2018


asb added inline comments.


================
Comment at: test/CodeGen/riscv32-abi.c:2-3
 // RUN: %clang_cc1 -triple riscv32 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple riscv32 -emit-llvm -fforce-enable-int128 %s -o - \
+// RUN: | FileCheck %s -check-prefix=CHECK-FORCEINT128
 
----------------
Nit: this is slightly different to what I suggested. `-check-prefixes=CHECK,CHECK-FORCEINT128` would mean that all the other lowerings are rechecked with -fforce-eanble-int128 and are seen to remain unchanged.


Repository:
  rC Clang

https://reviews.llvm.org/D43105





More information about the cfe-commits mailing list