diff options
author | Juneyoung Lee <aqjune@gmail.com> | 2020-03-17 01:10:02 +0900 |
---|---|---|
committer | Juneyoung Lee <aqjune@gmail.com> | 2020-03-17 01:10:26 +0900 |
commit | 07a41544fde9d4bad2ee7bc42c4852514467a1b5 (patch) | |
tree | 780796b08c0fb4ea6a0b821026d72832a10caf06 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 84386b2d8ae89fee9ab8d1ebfa045e2a0ea8eaba (diff) | |
download | llvm-07a41544fde9d4bad2ee7bc42c4852514467a1b5.zip llvm-07a41544fde9d4bad2ee7bc42c4852514467a1b5.tar.gz llvm-07a41544fde9d4bad2ee7bc42c4852514467a1b5.tar.bz2 |
Minor fix to a comment in CodeGenPrepare.cpp
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index fd55ef2..1cccd6f 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -6140,7 +6140,7 @@ bool CodeGenPrepare::optimizeSelectInst(SelectInst *SI) { // select.end: // %sel = phi i32 [ %c, %select.true ], [ %d, %select.false ] // - // %cmp should be freezed, otherwise it may introduce undefined behavior. + // %cmp should be frozen, otherwise it may introduce undefined behavior. // In addition, we may sink instructions that produce %c or %d from // the entry block into the destination(s) of the new branch. // If the true or false blocks do not contain a sunken instruction, that |