[PATCH] D24311: Implement MS _rot intrinsics

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 7 13:53:51 PDT 2016


rnk added a comment.

You should locally verify that this generates the correct assembly when optimizations are enabled, and if it doesn't, try to make the input look more like llvm/test/CodeGen/X86/rotate.ll


================
Comment at: test/CodeGen/ms-intrinsics-rotations.c:2
@@ +1,3 @@
+// RUN: %clang_cc1 -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 \
+// RUN:         -triple i686--windows -Oz -emit-llvm %s -o - \
+// RUN:         | FileCheck %s --check-prefixes CHECK,CHECK-32BIT-LONG
----------------
Can we run without -Oz? The test should still pass.


https://reviews.llvm.org/D24311





More information about the cfe-commits mailing list