[PATCH] D10977: Allow {e, r}bp as the target of {read, write}_register.

Reid Kleckner rnk at google.com
Mon Jul 6 16:22:56 PDT 2015


rnk added a subscriber: rnk.

Is it really that important to prevent people from hurting themselves by accessing ebp/rbp in a function without a frame pointer? I'd rather let them get hurt than suffer the extra code in LLVM.


================
Comment at: test/CodeGen/X86/named-reg-alloc.ll:15
@@ +14,3 @@
+; FIXME: Include an allocatable-specific error message
+; CHECKL Invalid register name global variable
+  %fp = call i32 @llvm.read_register.i32(metadata !1)
----------------
This CHECK is disabled with CHECKL?


Repository:
  rL LLVM

http://reviews.llvm.org/D10977







More information about the llvm-commits mailing list